Class: Twilio::REST::Pricing::Voice

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/pricing/voice.rb

Instance Method Summary collapse

Methods inherited from InstanceResource

#delete, #inspect, #method_missing, #refresh, #update

Methods included from Utils

#detwilify, #twilify

Constructor Details

#initialize(path, client, params = {}) ⇒ Voice

Returns a new instance of Voice.



9
10
11
12
13
# File 'lib/twilio-ruby/rest/pricing/voice.rb', line 9

def initialize(path, client, params={})
  super
  @submodule = :Pricing
  resource :countries, :numbers
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Twilio::REST::InstanceResource