Class: Synthetics::API::Locations

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

Overview

This class makes requests to the locations 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



5
6
7
# File 'lib/synthetics/api/locations.rb', line 5

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