lib/twilio-ruby/rest/monitor/v1/event.rb in twilio-ruby-5.0.0.rc23 vs lib/twilio-ruby/rest/monitor/v1/event.rb in twilio-ruby-5.0.0.rc24
- old
+ new
@@ -129,12 +129,12 @@
params = Twilio::Values.of({
'ActorSid' => actor_sid,
'EventType' => event_type,
'ResourceSid' => resource_sid,
'SourceIpAddress' => source_ip_address,
- 'StartDate' => Twilio.serialize_iso8601(start_date),
- 'EndDate' => Twilio.serialize_iso8601(end_date),
+ 'StartDate' => Twilio.serialize_iso8601_date(start_date),
+ 'EndDate' => Twilio.serialize_iso8601_date(end_date),
'PageToken' => page_token,
'Page' => page_number,
'PageSize' => page_size,
})
response = @version.page(
@@ -255,10 +255,10 @@
'account_sid' => payload['account_sid'],
'actor_sid' => payload['actor_sid'],
'actor_type' => payload['actor_type'],
'description' => payload['description'],
'event_data' => payload['event_data'],
- 'event_date' => Twilio.deserialize_iso8601(payload['event_date']),
+ 'event_date' => Twilio.deserialize_iso8601_datetime(payload['event_date']),
'event_type' => payload['event_type'],
'resource_sid' => payload['resource_sid'],
'resource_type' => payload['resource_type'],
'sid' => payload['sid'],
'source' => payload['source'],
\ No newline at end of file