class Synthetics::API

This class holds the sub APIs used to communicate with synthetics.

Attributes

client[R]

Public Class Methods

new(client) click to toggle source
# File lib/synthetics/api.rb, line 13
def initialize(client)
  @client = client
end

Public Instance Methods

label(label) click to toggle source
# File lib/synthetics/api.rb, line 17
def label(label)
  Label.new(client, label)
end
labels() click to toggle source
# File lib/synthetics/api.rb, line 21
def labels
  Labels.new(client)
end
locations() click to toggle source
# File lib/synthetics/api.rb, line 25
def locations
  Locations.new(client)
end
monitor(monitor_uuid) click to toggle source
# File lib/synthetics/api.rb, line 29
def monitor(monitor_uuid)
  Monitor.new(client, monitor_uuid)
end
monitors() click to toggle source
# File lib/synthetics/api.rb, line 33
def monitors
  Monitors.new(client)
end