Class: Twilio::REST::Trunking

Inherits:
TrunkingBase show all
Defined in:
lib/twilio-ruby/rest/trunking.rb,
lib/twilio-ruby/rest/trunking/v1.rb,
lib/twilio-ruby/rest/trunking/v1/trunk.rb,
lib/twilio-ruby/rest/trunking/v1/trunk/recording.rb,
lib/twilio-ruby/rest/trunking/v1/trunk/phone_number.rb,
lib/twilio-ruby/rest/trunking/v1/trunk/credential_list.rb,
lib/twilio-ruby/rest/trunking/v1/trunk/origination_url.rb,
lib/twilio-ruby/rest/trunking/v1/trunk/ip_access_control_list.rb

Defined Under Namespace

Classes: V1

Instance Attribute Summary

Attributes inherited from Domain

#client

Instance Method Summary collapse

Methods inherited from TrunkingBase

#initialize, #to_s, #v1

Methods inherited from Domain

#absolute_url, #initialize, #request

Constructor Details

This class inherits a constructor from Twilio::REST::TrunkingBase

Instance Method Details

#trunks(sid = :unset) ⇒ Twilio::REST::Trunking::V1::TrunkInstance, Twilio::REST::Trunking::V1::TrunkList

Parameters:

  • sid (String) (defaults to: :unset)

    The unique string that we created to identify the Trunk resource.

Returns:



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

def trunks(sid=:unset)
  warn "trunks is deprecated. Use v1.trunks instead."
  self.v1.trunks(sid)
end