Module: Croudia::API::Trends
- Included in:
- Client
- Defined in:
- lib/croudia/api/trends.rb
Instance Method Summary collapse
-
#trends(params = {}) ⇒ Croudia::TrendResults<Croudia::Trend>
Retrieve the current trends.
Instance Method Details
#trends(params = {}) ⇒ Croudia::TrendResults<Croudia::Trend>
Retrieve the current trends
13 14 15 16 17 |
# File 'lib/croudia/api/trends.rb', line 13 def trends(params={}) params[:id] ||= '1' resp = get('/trends/place.json', params) Croudia::TrendResults.new(resp) end |