lib/twilio-ruby/rest/messaging/v1/service.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/messaging/v1/service.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -383,11 +383,11 @@
# Marshaled Properties
@properties = {
'sid' => payload['sid'],
'account_sid' => payload['account_sid'],
'friendly_name' => payload['friendly_name'],
- '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']),
'inbound_request_url' => payload['inbound_request_url'],
'inbound_method' => payload['inbound_method'],
'fallback_url' => payload['fallback_url'],
'fallback_method' => payload['fallback_method'],
'status_callback' => payload['status_callback'],
\ No newline at end of file