Class: Twilio::REST::Verify::V2::VerificationAttemptPage
- Defined in:
- lib/twilio-ruby/rest/verify/v2/verification_attempt.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ VerificationAttemptInstance
Build an instance of VerificationAttemptInstance.
-
#initialize(version, response, solution) ⇒ VerificationAttemptPage
constructor
Initialize the VerificationAttemptPage.
-
#to_s ⇒ Object
Provide a user friendly representation.
Methods inherited from Page
#each, #load_page, #next_page, #next_page_url, #previous_page, #previous_page_url, #process_response
Constructor Details
#initialize(version, response, solution) ⇒ VerificationAttemptPage
Initialize the VerificationAttemptPage
206 207 208 209 210 211 |
# File 'lib/twilio-ruby/rest/verify/v2/verification_attempt.rb', line 206 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ VerificationAttemptInstance
Build an instance of VerificationAttemptInstance
217 218 219 |
# File 'lib/twilio-ruby/rest/verify/v2/verification_attempt.rb', line 217 def get_instance(payload) VerificationAttemptInstance.new(@version, payload, ) end |
#to_s ⇒ Object
Provide a user friendly representation
223 224 225 |
# File 'lib/twilio-ruby/rest/verify/v2/verification_attempt.rb', line 223 def to_s '<Twilio.Verify.V2.VerificationAttemptPage>' end |