Class: Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesInstance

Inherits:
InstanceResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, account_sid: nil, domain_sid: nil) ⇒ AuthTypesInstance

Initialize the AuthTypesInstance

Parameters:

  • version (Version)

    Version that contains the resource

  • payload (Hash)

    payload that contains response from Twilio

  • account_sid (String) (defaults to: nil)

    The SID of the Account that created this AuthTypes resource.

  • sid (String)

    The SID of the Call resource to fetch.



99
100
101
102
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 99

def initialize(version , account_sid: nil, domain_sid: nil)
    super(version)
    
end

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation



113
114
115
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 113

def inspect
    "<Twilio.Api.V2010.AuthTypesInstance>"
end

#to_sObject

Provide a user friendly representation



107
108
109
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb', line 107

def to_s
    "<Twilio.Api.V2010.AuthTypesInstance>"
end