lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/ip_messaging/v2/service/user.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -308,11 +308,11 @@
'friendly_name' => payload['friendly_name'],
'role_sid' => payload['role_sid'],
'identity' => payload['identity'],
'is_online' => payload['is_online'],
'is_notifiable' => payload['is_notifiable'],
- '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']),
'joined_channels_count' => payload['joined_channels_count'].to_i,
'links' => payload['links'],
'url' => payload['url'],
}
\ No newline at end of file