Module: Croudia::Rest::Trends

Included in:
Client
Defined in:
lib/croudia/rest/trends.rb

Instance Method Summary collapse

Instance Method Details

#place(params = {}) ⇒ Croudia::Object::Trend

Returns the top 10 trending topics for a specific WOEID.

Options Hash (params):

  • :woeid (Integer)

    Please set 1.

See Also:



13
14
15
16
# File 'lib/croudia/rest/trends.rb', line 13

def place(params = {})
  response = get('trends/place.json', params)
  Croudia::Object::Trend.new(response)
end