lib/twilio-ruby/rest/preview/wireless/command.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/preview/wireless/command.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -278,11 +278,11 @@
'sim_sid' => payload['sim_sid'],
'command' => payload['command'],
'command_mode' => payload['command_mode'],
'status' => payload['status'],
'direction' => payload['direction'],
- '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']),
'url' => payload['url'],
}
# Context
@instance_context = nil
\ No newline at end of file