lib/twilio-ruby/rest/fax/v1/fax.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/fax/v1/fax.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -131,12 +131,12 @@
# @return [Page] Page of FaxInstance
def page(from: :unset, to: :unset, date_created_on_or_before: :unset, date_created_after: :unset, page_token: :unset, page_number: :unset, page_size: :unset)
params = Twilio::Values.of({
'From' => from,
'To' => to,
- 'DateCreatedOnOrBefore' => Twilio.serialize_iso8601(date_created_on_or_before),
- 'DateCreatedAfter' => Twilio.serialize_iso8601(date_created_after),
+ 'DateCreatedOnOrBefore' => Twilio.serialize_iso8601_datetime(date_created_on_or_before),
+ 'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after),
'PageToken' => page_token,
'Page' => page_number,
'PageSize' => page_size,
})
response = @version.page(
@@ -369,11 +369,11 @@
'status' => payload['status'],
'direction' => payload['direction'],
'api_version' => payload['api_version'],
'price' => payload['price'].to_f,
'price_unit' => payload['price_unit'],
- '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']),
'links' => payload['links'],
'url' => payload['url'],
}
# Context
\ No newline at end of file