Class: Synthetics::API::Labels

Inherits:
Base
  • Object
show all
Defined in:
lib/synthetics/api/labels.rb

Overview

This class makes requests to the collection methods of the labels section of the Synthetics API.

Instance Attribute Summary

Attributes inherited from Base

#client

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Synthetics::API::Base

Instance Method Details

#listObject



6
7
8
# File 'lib/synthetics/api/labels.rb', line 6

def list
  request(method: 'GET', path: '/monitors/labels')
end