Class: VoiceML::VoiceV1Resource

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_trunksObject (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_policiesObject (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_permissionsObject (readonly)

Returns the value of attribute dialing_permissions.



9
10
11
# File 'lib/voiceml/resources/voice_v1.rb', line 9

def dialing_permissions
  @dialing_permissions
end

#ip_recordsObject (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_mappingsObject (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