Class: Twilio::REST::Taskrouter::V1::WorkspaceContext::WorkflowContext::WorkflowRealTimeStatisticsList

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

Instance Method Summary collapse

Constructor Details

#initialize(version, workspace_sid: nil, workflow_sid: nil) ⇒ WorkflowRealTimeStatisticsList

Initialize the WorkflowRealTimeStatisticsList

Parameters:

  • version (Version)

    Version that contains the resource



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

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

Instance Method Details

#to_sObject

Provide a user friendly representation



40
41
42
# File 'lib/twilio-ruby/rest/taskrouter/v1/workspace/workflow/workflow_real_time_statistics.rb', line 40

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