class Twilio::REST::Accounts::V1::SecondaryAuthTokenPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the SecondaryAuthTokenPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [SecondaryAuthTokenPage] SecondaryAuthTokenPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb 39 def initialize(version, response, solution) 40 super(version, response) 41 42 # Path Solution 43 @solution = solution 44 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of SecondaryAuthTokenInstance
@param [Hash] payload Payload response from the API @return [SecondaryAuthTokenInstance] SecondaryAuthTokenInstance
# File lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb 50 def get_instance(payload) 51 SecondaryAuthTokenInstance.new(@version, payload, ) 52 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/accounts/v1/secondary_auth_token.rb 56 def to_s 57 '<Twilio.Accounts.V1.SecondaryAuthTokenPage>' 58 end