Module: Untappd::Client::Venue
- Included in:
- Untappd::Client
- Defined in:
- lib/untappd-api/client/venue.rb
Instance Method Summary collapse
-
#venue(id) ⇒ Hashie::Mash
Returns info for the specified venue.
-
#venue_feed(id, options = {}) ⇒ Array
Returns the feed for the specified venue.
Instance Method Details
#venue(id) ⇒ Hashie::Mash
Returns info for the specified venue.
28 29 30 31 |
# File 'lib/untappd-api/client/venue.rb', line 28 def venue(id) = { :venue_id => id } get('/venue_info', ) end |
#venue_feed(id, options = {}) ⇒ Array
Returns the feed for the specified venue.
15 16 17 18 |
# File 'lib/untappd-api/client/venue.rb', line 15 def venue_feed(id, ={}) .merge!(:venue_id => id) get('/venue_checkins', ) end |