lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/ip_messaging/v2/service/channel.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -372,11 +372,11 @@
'service_sid' => payload['service_sid'],
'friendly_name' => payload['friendly_name'],
'unique_name' => payload['unique_name'],
'attributes' => payload['attributes'],
'type' => payload['type'],
- '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']),
'created_by' => payload['created_by'],
'members_count' => payload['members_count'].to_i,
'messages_count' => payload['messages_count'].to_i,
'url' => payload['url'],
'links' => payload['links'],
\ No newline at end of file