Class: Twilio::REST::Lookups::V2::QueryPage
- Defined in:
- lib/twilio-ruby/rest/lookups/v2/query.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ QueryInstance
Build an instance of QueryInstance.
-
#initialize(version, response, solution) ⇒ QueryPage
constructor
Initialize the QueryPage.
-
#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) ⇒ QueryPage
Initialize the QueryPage
393 394 395 396 397 398 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 393 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ QueryInstance
Build an instance of QueryInstance
404 405 406 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 404 def get_instance(payload) QueryInstance.new(@version, payload) end |
#to_s ⇒ Object
Provide a user friendly representation
410 411 412 |
# File 'lib/twilio-ruby/rest/lookups/v2/query.rb', line 410 def to_s '<Twilio.Lookups.V2.QueryPage>' end |