Class: Twilio::REST::Taskrouter::V1::WorkspaceContext::WorkspaceStatisticsList

Inherits:
ListResource
  • Object
show all
Defined in:
lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb

Instance Method Summary collapse

Constructor Details

#initialize(version, workspace_sid: nil) ⇒ WorkspaceStatisticsList

Initialize the WorkspaceStatisticsList

Parameters:

  • version (Version)

    Version that contains the resource



28
29
30
31
32
33
34
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb', line 28

def initialize(version, workspace_sid: nil)
    super(version)
    # Path Solution
    @solution = { workspace_sid: workspace_sid }
    
    
end

Instance Method Details

#to_sObject

Provide a user friendly representation



39
40
41
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/workspace_statistics.rb', line 39

def to_s
    '#<Twilio.Taskrouter.V1.WorkspaceStatisticsList>'
end