lib/twilio-ruby/rest/chat/v2/service/role.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/chat/v2/service/role.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -281,11 +281,11 @@
'account_sid' => payload['account_sid'],
'service_sid' => payload['service_sid'],
'friendly_name' => payload['friendly_name'],
'type' => payload['type'],
'permissions' => payload['permissions'],
- '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