lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-6.0.0 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker.rb in twilio-ruby-6.0.1
- old
+ new
@@ -307,11 +307,11 @@
return ReservationContext.new(@version, @solution[:workspace_sid], @solution[:sid],sid )
end
unless @reservations
@reservations = ReservationList.new(
- @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
+ @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
end
@reservations
end
##
@@ -359,10 +359,10 @@
return WorkerChannelContext.new(@version, @solution[:workspace_sid], @solution[:sid],sid )
end
unless @worker_channels
@worker_channels = WorkerChannelList.new(
- @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
+ @version, workspace_sid: @solution[:workspace_sid], worker_sid: @solution[:sid], )
end
@worker_channels
end