Module: Instagram::Client::Geographies
- Included in:
- Instagram::Client
- Defined in:
- lib/instagram/client/geographies.rb
Overview
Defines methods related to real-time geographies
Instance Method Summary collapse
-
#geography_recent_media(id, options = {}) ⇒ Hashie::Mash
Returns a list of recent media items for a given real-time geography.
Instance Method Details
#geography_recent_media(id, options = {}) ⇒ Hashie::Mash
Returns a list of recent media items for a given real-time geography
22 23 24 25 26 |
# File 'lib/instagram/client/geographies.rb', line 22 def geography_recent_media(id, *args) = args.last.is_a?(Hash) ? args.pop : {} response = get("geographies/#{id}/media/recent", ) response end |