Class: VoiceML::RoutesV2Resource
- Inherits:
-
Object
- Object
- VoiceML::RoutesV2Resource
- Defined in:
- lib/voiceml/resources/routes_v2.rb
Overview
client.routes_v2 — Twilio routes/v2 Inbound Processing Region API.
Sits outside the /2010-04-01/Accounts/... namespace.
Instance Attribute Summary collapse
-
#phone_numbers ⇒ Object
readonly
Returns the value of attribute phone_numbers.
-
#sip_domains ⇒ Object
readonly
Returns the value of attribute sip_domains.
Instance Method Summary collapse
-
#initialize(transport) ⇒ RoutesV2Resource
constructor
A new instance of RoutesV2Resource.
Constructor Details
#initialize(transport) ⇒ RoutesV2Resource
Returns a new instance of RoutesV2Resource.
10 11 12 13 |
# File 'lib/voiceml/resources/routes_v2.rb', line 10 def initialize(transport) @sip_domains = RoutesV2SipDomainsResource.new(transport) @phone_numbers = RoutesV2PhoneNumbersResource.new(transport) end |
Instance Attribute Details
#phone_numbers ⇒ Object (readonly)
Returns the value of attribute phone_numbers.
9 10 11 |
# File 'lib/voiceml/resources/routes_v2.rb', line 9 def phone_numbers @phone_numbers end |
#sip_domains ⇒ Object (readonly)
Returns the value of attribute sip_domains.
9 10 11 |
# File 'lib/voiceml/resources/routes_v2.rb', line 9 def sip_domains @sip_domains end |