Class: Twilio::REST::Taskrouter::V1::WorkspaceContext::WorkerContext::WorkerStatisticsList
- Inherits:
-
ListResource
- Object
- ListResource
- Twilio::REST::Taskrouter::V1::WorkspaceContext::WorkerContext::WorkerStatisticsList
- Defined in:
- lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb
Instance Method Summary collapse
-
#initialize(version, workspace_sid: nil, worker_sid: nil) ⇒ WorkerStatisticsList
constructor
Initialize the WorkerStatisticsList.
-
#to_s ⇒ Object
Provide a user friendly representation.
Constructor Details
#initialize(version, workspace_sid: nil, worker_sid: nil) ⇒ WorkerStatisticsList
Initialize the WorkerStatisticsList
29 30 31 32 33 34 35 |
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb', line 29 def initialize(version, workspace_sid: nil, worker_sid: nil) super(version) # Path Solution @solution = { workspace_sid: workspace_sid, worker_sid: worker_sid } end |
Instance Method Details
#to_s ⇒ Object
Provide a user friendly representation
40 41 42 |
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb', line 40 def to_s '#<Twilio.Taskrouter.V1.WorkerStatisticsList>' end |