Class: Twilio::REST::Routes
- Inherits:
-
RoutesBase
- Object
- Domain
- RoutesBase
- Twilio::REST::Routes
- Defined in:
- lib/twilio-ruby/rest/routes.rb,
lib/twilio-ruby/rest/routes/v2.rb,
lib/twilio-ruby/rest/routes/v2/trunk.rb,
lib/twilio-ruby/rest/routes/v2/sip_domain.rb,
lib/twilio-ruby/rest/routes/v2/phone_number.rb
Defined Under Namespace
Classes: V2
Instance Attribute Summary
Attributes inherited from Domain
Instance Method Summary collapse
- #phone_numbers(phone_number = :unset) ⇒ Twilio::REST::Routes::V2::PhoneNumberInstance, Twilio::REST::Routes::V2::PhoneNumberList
- #sip_domains(sip_domain = :unset) ⇒ Twilio::REST::Routes::V2::SipDomainInstance, Twilio::REST::Routes::V2::SipDomainList
- #trunks(sip_trunk_domain = :unset) ⇒ Twilio::REST::Routes::V2::TrunkInstance, Twilio::REST::Routes::V2::TrunkList
Methods inherited from RoutesBase
Methods inherited from Domain
#absolute_url, #initialize, #request
Constructor Details
This class inherits a constructor from Twilio::REST::RoutesBase
Instance Method Details
#phone_numbers(phone_number = :unset) ⇒ Twilio::REST::Routes::V2::PhoneNumberInstance, Twilio::REST::Routes::V2::PhoneNumberList
8 9 10 11 |
# File 'lib/twilio-ruby/rest/routes.rb', line 8 def phone_numbers(phone_number=:unset) warn "phone_numbers is deprecated. Use v2.phone_numbers instead." self.v2.phone_numbers(phone_number) end |
#sip_domains(sip_domain = :unset) ⇒ Twilio::REST::Routes::V2::SipDomainInstance, Twilio::REST::Routes::V2::SipDomainList
17 18 19 20 |
# File 'lib/twilio-ruby/rest/routes.rb', line 17 def sip_domains(sip_domain=:unset) warn "sip_domains is deprecated. Use v2.sip_domains instead." self.v2.sip_domains(sip_domain) end |
#trunks(sip_trunk_domain = :unset) ⇒ Twilio::REST::Routes::V2::TrunkInstance, Twilio::REST::Routes::V2::TrunkList
26 27 28 29 |
# File 'lib/twilio-ruby/rest/routes.rb', line 26 def trunks(sip_trunk_domain=:unset) warn "trunks is deprecated. Use v2.trunks instead." self.v2.trunks(sip_trunk_domain) end |