Class: Twilio::REST::Insights::V2::ReportPage
- Defined in:
- lib/twilio-ruby/rest/insights/v2/report.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ ReportInstance
Build an instance of ReportInstance.
-
#initialize(version, response, solution) ⇒ ReportPage
constructor
Initialize the ReportPage.
-
#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) ⇒ ReportPage
Initialize the ReportPage
661 662 663 664 665 666 667 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 661 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ ReportInstance
Build an instance of ReportInstance
673 674 675 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 673 def get_instance(payload) ReportInstance.new(@version, payload) end |
#to_s ⇒ Object
Provide a user friendly representation
679 680 681 |
# File 'lib/twilio-ruby/rest/insights/v2/report.rb', line 679 def to_s '<Twilio.Insights.V2.ReportPage>' end |