Class: GoSquared

Inherits:
Object
  • Object
show all
Defined in:
lib/go_squared.rb,
lib/go_squared/trends.rb

Defined Under Namespace

Classes: Trends

Instance Method Summary collapse

Constructor Details

#initialize(api_key, site_id) ⇒ GoSquared

Returns a new instance of GoSquared.



12
13
14
15
# File 'lib/go_squared.rb', line 12

def initialize api_key, site_id
  @api_key = api_key
  @site_id = site_id
end

Instance Method Details



17
18
19
# File 'lib/go_squared.rb', line 17

def trends
  GoSquared::Trends.new(@api_key, @site_id)
end