Class: Twilio::REST::Trunking::Trunk

Inherits:
InstanceResource show all
Defined in:
lib/twilio-ruby/rest/trunking/trunks.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 = {}) ⇒ Trunk



7
8
9
10
11
12
13
14
# File 'lib/twilio-ruby/rest/trunking/trunks.rb', line 7

def initialize(path, client, params={})
  super
  @submodule = :Trunking
  resource :credential_lists,
           :ip_access_control_lists,
           :origination_urls,
           :phone_numbers
end

Dynamic Method Handling

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