Method: Dogapi::V1::MonitorService#schedule_downtime
- Defined in:
- lib/dogapi/v1/monitor.rb
#schedule_downtime(scope, options = {}) ⇒ Object
DOWNTIMES
124 125 126 127 128 129 130 |
# File 'lib/dogapi/v1/monitor.rb', line 124 def schedule_downtime(scope, = {}) body = { 'scope' => scope }.merge request(Net::HTTP::Post, "/api/#{API_VERSION}/downtime", nil, body, true) end |