Class: Twilio::REST::Voice::V1
- Inherits:
-
Twilio::REST::Version
- Object
- Twilio::REST::Version
- Twilio::REST::Voice::V1
- Defined in:
- lib/twilio-ruby/rest/voice/v1.rb,
lib/twilio-ruby/rest/voice/v1/dialing_permissions.rb,
lib/twilio-ruby/rest/voice/v1/dialing_permissions/country.rb,
lib/twilio-ruby/rest/voice/v1/dialing_permissions/settings.rb,
lib/twilio-ruby/rest/voice/v1/dialing_permissions/bulk_country_update.rb,
lib/twilio-ruby/rest/voice/v1/dialing_permissions/country/highrisk_special_prefix.rb
Defined Under Namespace
Classes: DialingPermissionsInstance, DialingPermissionsList, DialingPermissionsPage
Instance Attribute Summary
Attributes inherited from Twilio::REST::Version
Instance Method Summary collapse
- #dialing_permissions ⇒ Twilio::REST::Voice::V1::DialingPermissionsContext
-
#initialize(domain) ⇒ V1
constructor
Initialize the V1 version of Voice.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Twilio::REST::Version
#absolute_url, #create, #delete, #exception, #fetch, #page, #read_limits, #relative_uri, #request, #stream, #update
Constructor Details
#initialize(domain) ⇒ V1
Initialize the V1 version of Voice
15 16 17 18 19 |
# File 'lib/twilio-ruby/rest/voice/v1.rb', line 15 def initialize(domain) super @version = 'v1' @dialing_permissions = nil end |
Instance Method Details
#dialing_permissions ⇒ Twilio::REST::Voice::V1::DialingPermissionsContext
23 24 25 |
# File 'lib/twilio-ruby/rest/voice/v1.rb', line 23 def @dialing_permissions ||= DialingPermissionsList.new self end |
#to_s ⇒ Object
Provide a user friendly representation
29 30 31 |
# File 'lib/twilio-ruby/rest/voice/v1.rb', line 29 def to_s '<Twilio::REST::Voice::V1>' end |