Module: Twelve::API::Gauges::Technology

Included in:
Proxy
Defined in:
lib/twelve/api/gauges/technology.rb

Overview

The Technology module handles accessing browsers and platforms

Instance Method Summary collapse

Instance Method Details

#technology(date = nil) ⇒ Object

Returns monthly browsers and platforms for a gauge

date - String of date

Returns json



21
22
23
24
25
26
27
28
# File 'lib/twelve/api/gauges/technology.rb', line 21

def technology(date=nil)
  attributes = {}

  connection.get do |request|
    request.url "#{path_prefix}/technology"
    request.params['date'] = date if date && date.is_a?(String)
  end.body
end