Module: Twelve::API::Clients
- Included in:
- Twelve
- Defined in:
- lib/twelve/api/clients.rb
Overview
The Clients module handles API Clients on Gauges
Defined Under Namespace
Classes: Proxy
Instance Method Summary collapse
-
#clients(id = nil) ⇒ Object
Get API clients.
Instance Method Details
#clients(id = nil) ⇒ Object
Get API clients
Returns json
49 50 51 52 |
# File 'lib/twelve/api/clients.rb', line 49 def clients(id=nil) path_prefix = id ? "/clients/#{id}" : '/clients' Proxy.new(connection, path_prefix) end |