Class: Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesList
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesList
- Defined in:
- lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_credential_list_mapping.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping/auth_calls_ip_access_control_list_mapping.rb,
lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_registrations_mapping/auth_registrations_credential_list_mapping.rb
Defined Under Namespace
Classes: AuthTypeCallsInstance, AuthTypeCallsList, AuthTypeCallsPage, AuthTypeRegistrationsInstance, AuthTypeRegistrationsList, AuthTypeRegistrationsPage
Instance Method Summary collapse
-
#calls ⇒ AuthTypeCallsList, AuthTypeCallsContext
Access the calls.
-
#initialize(version, account_sid: nil, domain_sid: nil) ⇒ AuthTypesList
constructor
Initialize the AuthTypesList.
-
#registrations ⇒ AuthTypeRegistrationsList, AuthTypeRegistrationsContext
Access the registrations.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, account_sid: nil, domain_sid: nil) ⇒ AuthTypesList
Initialize the AuthTypesList
26 27 28 29 30 31 32 33 34 35 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 26 def initialize(version, account_sid: nil, domain_sid: nil) super(version) # Path Solution @solution = {account_sid: account_sid, domain_sid: domain_sid} # Components @calls = nil @registrations = nil end |
Instance Method Details
#calls ⇒ AuthTypeCallsList, AuthTypeCallsContext
Access the calls
41 42 43 44 45 46 47 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 41 def calls @calls ||= AuthTypeCallsList.new( @version, account_sid: @solution[:account_sid], domain_sid: @solution[:domain_sid], ) end |
#registrations ⇒ AuthTypeRegistrationsList, AuthTypeRegistrationsContext
Access the registrations
53 54 55 56 57 58 59 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 53 def registrations @registrations ||= AuthTypeRegistrationsList.new( @version, account_sid: @solution[:account_sid], domain_sid: @solution[:domain_sid], ) end |
#to_s ⇒ Object
Provide a user friendly representation
63 64 65 |
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 63 def to_s '#<Twilio.Api.V2010.AuthTypesList>' end |