lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb in twilio-ruby-5.6.0 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_statistics.rb in twilio-ruby-5.6.1
- old
+ new
@@ -74,11 +74,11 @@
# @return [WorkerStatisticsContext] WorkerStatisticsContext
def initialize(version, workspace_sid, worker_sid)
super(version)
# Path Solution
- @solution = {workspace_sid: workspace_sid, worker_sid: worker_sid}
+ @solution = {workspace_sid: workspace_sid, worker_sid: worker_sid, }
@uri = "/Workspaces/#{@solution[:workspace_sid]}/Workers/#{@solution[:worker_sid]}/Statistics"
end
##
# Fetch a WorkerStatisticsInstance
@@ -137,11 +137,11 @@
'url' => payload['url'],
}
# Context
@instance_context = nil
- @params = {'workspace_sid' => workspace_sid, 'worker_sid' => worker_sid}
+ @params = {'workspace_sid' => workspace_sid, 'worker_sid' => worker_sid, }
end
##
# Generate an instance context for the instance, the context is capable of
# performing various actions. All instance actions are proxied to the context
@@ -193,10 +193,10 @@
# @param [Time] start_date The start_date
# @param [Time] end_date The end_date
# @param [String] task_channel The task_channel
# @return [WorkerStatisticsInstance] Fetched WorkerStatisticsInstance
def fetch(minutes: :unset, start_date: :unset, end_date: :unset, task_channel: :unset)
- context.fetch(minutes: minutes, start_date: start_date, end_date: end_date, task_channel: task_channel)
+ context.fetch(minutes: minutes, start_date: start_date, end_date: end_date, task_channel: task_channel, )
end
##
# Provide a user friendly representation
def to_s
\ No newline at end of file