Class: Twilio::REST::Taskrouter::V1::WorkspacePage
- Defined in:
- lib/twilio-ruby/rest/taskrouter/v1/workspace.rb
Constant Summary
Constants inherited from Page
Instance Method Summary collapse
-
#get_instance(payload) ⇒ WorkspaceInstance
Build an instance of WorkspaceInstance.
-
#initialize(version, response, solution) ⇒ WorkspacePage
constructor
Initialize the WorkspacePage.
-
#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) ⇒ WorkspacePage
Initialize the WorkspacePage
462 463 464 465 466 467 |
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace.rb', line 462 def initialize(version, response, solution) super(version, response) # Path Solution @solution = solution end |
Instance Method Details
#get_instance(payload) ⇒ WorkspaceInstance
Build an instance of WorkspaceInstance
473 474 475 |
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace.rb', line 473 def get_instance(payload) WorkspaceInstance.new(@version, payload) end |
#to_s ⇒ Object
Provide a user friendly representation
479 480 481 |
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace.rb', line 479 def to_s '<Twilio.Taskrouter.V1.WorkspacePage>' end |