spec/integration/monitor/v1/alert_spec.rb in twilio-ruby-5.25.3 vs spec/integration/monitor/v1/alert_spec.rb in twilio-ruby-5.25.4
- old
+ new
@@ -43,11 +43,11 @@
"request_variables": "request_variables",
"resource_sid": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"response_body": "response_body",
"response_headers": "response_headers",
"sid": "NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
- "url": "http://www.example.com"
+ "url": "https://monitor.twilio.com/v1/Alerts/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
]
))
actual = @client.monitor.v1.alerts('NOXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX').fetch()
@@ -101,17 +101,17 @@
200,
%q[
{
"alerts": [],
"meta": {
- "first_page_url": "https://monitor.twilio.com/v1/Alerts?Page=0&PageSize=50",
+ "first_page_url": "https://monitor.twilio.com/v1/Alerts?LogLevel=log_level&StartDate=2016-01-01&EndDate=2016-01-01&PageSize=50&Page=0",
"key": "alerts",
"next_page_url": null,
"page": 0,
- "page_size": 0,
+ "page_size": 50,
"previous_page_url": null,
- "url": "https://monitor.twilio.com/v1/Alerts"
+ "url": "https://monitor.twilio.com/v1/Alerts?LogLevel=log_level&StartDate=2016-01-01&EndDate=2016-01-01&PageSize=50&Page=0"
}
}
]
))
@@ -138,20 +138,20 @@
"more_info": "more_info",
"request_method": "GET",
"request_url": "http://www.example.com",
"resource_sid": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"sid": "NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
- "url": "http://www.example.com"
+ "url": "https://monitor.twilio.com/v1/Alerts/NOaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
}
],
"meta": {
- "first_page_url": "https://monitor.twilio.com/v1/Alerts?Page=0&PageSize=50",
+ "first_page_url": "https://monitor.twilio.com/v1/Alerts?LogLevel=log_level&StartDate=2016-01-01&EndDate=2016-01-01&PageSize=50&Page=0",
"key": "alerts",
"next_page_url": null,
"page": 0,
- "page_size": 1,
+ "page_size": 50,
"previous_page_url": null,
- "url": "https://monitor.twilio.com/v1/Alerts"
+ "url": "https://monitor.twilio.com/v1/Alerts?LogLevel=log_level&StartDate=2016-01-01&EndDate=2016-01-01&PageSize=50&Page=0"
}
}
]
))
\ No newline at end of file