class Twilio::REST::Api::V2010::AccountContext::SipList::DomainContext::AuthTypesPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the AuthTypesPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [AuthTypesPage] AuthTypesPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 75 def initialize(version, response, solution) 76 super(version, response) 77 78 # Path Solution 79 @solution = solution 80 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of AuthTypesInstance
@param [Hash] payload Payload response from the API @return [AuthTypesInstance] AuthTypesInstance
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 86 def get_instance(payload) 87 AuthTypesInstance.new( 88 @version, 89 payload, 90 account_sid: @solution[:account_sid], 91 domain_sid: @solution[:domain_sid], 92 ) 93 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/api/v2010/account/sip/domain/auth_types.rb 97 def to_s 98 '<Twilio.Api.V2010.AuthTypesPage>' 99 end