Class: Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesList::AuthTypeCallsInstance

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

Instance Method Summary collapse

Constructor Details

#initialize(version, payload, account_sid: nil, domain_sid: nil) ⇒ AuthTypeCallsInstance

Initialize the AuthTypeCallsInstance

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 the SipDomain resource.

  • domain_sid (String) (defaults to: nil)

    The unique string that that we created to identify the SipDomain resource.


140
141
142
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb', line 140

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

Instance Method Details

#inspectObject

Provide a detailed, user friendly representation


152
153
154
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb', line 152

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

#to_sObject

Provide a user friendly representation


146
147
148
# File 'lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types/auth_calls_mapping.rb', line 146

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