lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/ip_messaging/v1/service/channel/message.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -301,11 +301,11 @@
'account_sid' => payload['account_sid'],
'attributes' => payload['attributes'],
'service_sid' => payload['service_sid'],
'to' => payload['to'],
'channel_sid' => payload['channel_sid'],
- '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']),
'was_edited' => payload['was_edited'],
'from' => payload['from'],
'body' => payload['body'],
'index' => payload['index'].to_i,
'url' => payload['url'],
\ No newline at end of file