lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/taskrouter/v1/workspace/worker/worker_channel.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -258,11 +258,11 @@
'account_sid' => payload['account_sid'],
'assigned_tasks' => payload['assigned_tasks'].to_i,
'available' => payload['available'],
'available_capacity_percentage' => payload['available_capacity_percentage'].to_i,
'configured_capacity' => payload['configured_capacity'].to_i,
- 'date_created' => Twilio.deserialize_iso8601(payload['date_created']),
- 'date_updated' => Twilio.deserialize_iso8601(payload['date_updated']),
+ 'date_created' => Twilio.deserialize_iso8601_datetime(payload['date_created']),
+ 'date_updated' => Twilio.deserialize_iso8601_datetime(payload['date_updated']),
'sid' => payload['sid'],
'task_channel_sid' => payload['task_channel_sid'],
'task_channel_unique_name' => payload['task_channel_unique_name'],
'worker_sid' => payload['worker_sid'],
'workspace_sid' => payload['workspace_sid'],
\ No newline at end of file