Class: VoiceML::VoiceV1Resource
- Inherits:
-
Object
- Object
- VoiceML::VoiceV1Resource
- Defined in:
- lib/voiceml/resources/voice_v1.rb
Overview
client.voice_v1 — Twilio Voice v1 (voice.twilio.com/v1) surface.
Sits outside the /2010-04-01/Accounts/... namespace; account resolved from Basic auth.
Instance Attribute Summary collapse
-
#byoc_trunks ⇒ Object
readonly
Returns the value of attribute byoc_trunks.
-
#connection_policies ⇒ Object
readonly
Returns the value of attribute connection_policies.
-
#dialing_permissions ⇒ Object
readonly
Returns the value of attribute dialing_permissions.
-
#ip_records ⇒ Object
readonly
Returns the value of attribute ip_records.
-
#source_ip_mappings ⇒ Object
readonly
Returns the value of attribute source_ip_mappings.
Instance Method Summary collapse
-
#initialize(transport) ⇒ VoiceV1Resource
constructor
A new instance of VoiceV1Resource.
Constructor Details
#initialize(transport) ⇒ VoiceV1Resource
Returns a new instance of VoiceV1Resource.
12 13 14 15 16 17 18 |
# File 'lib/voiceml/resources/voice_v1.rb', line 12 def initialize(transport) @ip_records = VoiceV1IpRecordsResource.new(transport) @source_ip_mappings = VoiceV1SourceIpMappingsResource.new(transport) @byoc_trunks = VoiceV1ByocTrunksResource.new(transport) @connection_policies = VoiceV1ConnectionPoliciesResource.new(transport) @dialing_permissions = VoiceV1DialingPermissionsResource.new(transport) end |
Instance Attribute Details
#byoc_trunks ⇒ Object (readonly)
Returns the value of attribute byoc_trunks.
9 10 11 |
# File 'lib/voiceml/resources/voice_v1.rb', line 9 def byoc_trunks @byoc_trunks end |
#connection_policies ⇒ Object (readonly)
Returns the value of attribute connection_policies.
9 10 11 |
# File 'lib/voiceml/resources/voice_v1.rb', line 9 def connection_policies @connection_policies end |
#dialing_permissions ⇒ Object (readonly)
Returns the value of attribute dialing_permissions.
9 10 11 |
# File 'lib/voiceml/resources/voice_v1.rb', line 9 def @dialing_permissions end |
#ip_records ⇒ Object (readonly)
Returns the value of attribute ip_records.
9 10 11 |
# File 'lib/voiceml/resources/voice_v1.rb', line 9 def ip_records @ip_records end |
#source_ip_mappings ⇒ Object (readonly)
Returns the value of attribute source_ip_mappings.
9 10 11 |
# File 'lib/voiceml/resources/voice_v1.rb', line 9 def source_ip_mappings @source_ip_mappings end |