class Vonage::PricingTypes

Public Class Methods

new(config) click to toggle source
# File lib/vonage/pricing_types.rb, line 6
def initialize(config)
  @config = config
end

Public Instance Methods

sms() click to toggle source
# File lib/vonage/pricing_types.rb, line 10
def sms
  @sms ||= Pricing.new(@config, type: 'sms')
end
voice() click to toggle source
# File lib/vonage/pricing_types.rb, line 14
def voice
  @voice ||= Pricing.new(@config, type: 'voice')
end