Module: Twelve::API::Gauges

Included in:
Twelve
Defined in:
lib/twelve/api/gauges.rb,
lib/twelve/api/gauges/terms.rb,
lib/twelve/api/gauges/shares.rb,
lib/twelve/api/gauges/content.rb,
lib/twelve/api/gauges/engines.rb,
lib/twelve/api/gauges/traffic.rb,
lib/twelve/api/gauges/locations.rb,
lib/twelve/api/gauges/referrers.rb,
lib/twelve/api/gauges/technology.rb,
lib/twelve/api/gauges/resolutions.rb

Overview

The Gauges module handles Gauges on Gauges

Defined Under Namespace

Modules: Content, Engines, Locations, Referrers, Resolutions, Shares, Technology, Terms, Traffic Classes: Proxy

Instance Method Summary collapse

Instance Method Details

#gauges(id = nil, attributes = nil) ⇒ Object

Get, Create, Update, and Delete Gauges

Returns json



61
62
63
64
# File 'lib/twelve/api/gauges.rb', line 61

def gauges(id=nil, attributes=nil)
  path_prefix = id ? "/gauges/#{id}" : '/gauges'
  Proxy.new(connection, path_prefix, attributes)
end