class Synthetics::API::Monitors
This class makes requests to the collection methods in the monitors section of the Synthetics
API
.
Public Instance Methods
create(options)
click to toggle source
# File lib/synthetics/api/monitors.rb, line 10 def create(options) request(path: '/monitors', method: 'POST', body: options) end
list()
click to toggle source
# File lib/synthetics/api/monitors.rb, line 6 def list request(path: '/monitors', method: 'GET') end