lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/video/v1/room.rb in twilio-ruby-5.0.0.rc24

- old
+ new

@@ -150,12 +150,12 @@ # @return [Page] Page of RoomInstance def page(status: :unset, unique_name: :unset, date_created_after: :unset, date_created_before: :unset, page_token: :unset, page_number: :unset, page_size: :unset) params = Twilio::Values.of({ 'Status' => status, 'UniqueName' => unique_name, - 'DateCreatedAfter' => Twilio.serialize_iso8601(date_created_after), - 'DateCreatedBefore' => Twilio.serialize_iso8601(date_created_before), + 'DateCreatedAfter' => Twilio.serialize_iso8601_datetime(date_created_after), + 'DateCreatedBefore' => Twilio.serialize_iso8601_datetime(date_created_before), 'PageToken' => page_token, 'Page' => page_number, 'PageSize' => page_size, }) response = @version.page( @@ -320,17 +320,17 @@ # Marshaled Properties @properties = { 'sid' => payload['sid'], 'status' => payload['status'], - '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']), 'account_sid' => payload['account_sid'], 'enable_turn' => payload['enable_turn'], 'unique_name' => payload['unique_name'], 'status_callback' => payload['status_callback'], 'status_callback_method' => payload['status_callback_method'], - 'end_time' => Twilio.deserialize_iso8601(payload['end_time']), + 'end_time' => Twilio.deserialize_iso8601_datetime(payload['end_time']), 'duration' => payload['duration'] == nil ? payload['duration'] : payload['duration'].to_i, 'type' => payload['type'], 'max_participants' => payload['max_participants'].to_i, 'record_participants_on_connect' => payload['record_participants_on_connect'], 'url' => payload['url'], \ No newline at end of file