class Twilio::REST::Verify::V2::VerificationAttemptPage
Public Class Methods
new(version, response, solution)
click to toggle source
Initialize the VerificationAttemptPage
@param [Version] version Version
that contains the resource @param [Response] response Response
from the API @param [Hash] solution Path solution for the resource @return [VerificationAttemptPage] VerificationAttemptPage
Calls superclass method
Twilio::REST::Page::new
# File lib/twilio-ruby/rest/verify/v2/verification_attempt.rb 152 def initialize(version, response, solution) 153 super(version, response) 154 155 # Path Solution 156 @solution = solution 157 end
Public Instance Methods
get_instance(payload)
click to toggle source
Build an instance of VerificationAttemptInstance
@param [Hash] payload Payload response from the API @return [VerificationAttemptInstance] VerificationAttemptInstance
# File lib/twilio-ruby/rest/verify/v2/verification_attempt.rb 163 def get_instance(payload) 164 VerificationAttemptInstance.new(@version, payload, ) 165 end
to_s()
click to toggle source
Provide a user friendly representation
# File lib/twilio-ruby/rest/verify/v2/verification_attempt.rb 169 def to_s 170 '<Twilio.Verify.V2.VerificationAttemptPage>' 171 end