module FoursquareNext::Events
Public Instance Methods
event(event_id, options = {})
click to toggle source
Retrieve information about an event
param [String] event_id The ID of the event
# File lib/foursquare_next/events.rb, line 7 def event(event_id, options = {}) response = connection.get do |req| req.url "events/#{event_id}", options end return_error_or_body(response, response.body.response.event) end
event_categories(options = {})
click to toggle source
Retrieve information about all event categories.
# File lib/foursquare_next/events.rb, line 16 def event_categories(options = {}) response = connection.get do |req| req.url "events/categories", options end return_error_or_body(response, response.body.response.categories) end