Sha256: 147ea2f222622806618670c984b07f1120c1a2b9fec0f25084c68675469275f5
Contents?: true
Size: 514 Bytes
Versions: 10
Compression:
Stored size: 514 Bytes
Contents
module Foursquare2 module Events # Retrieve information about an event # # param [String] event_id The ID of the event def event(event_id) response = connection.get("events/#{event_id}") return_error_or_body(response, response.body.response.event) end # Retrieve information about all event categories. def event_categories response = connection.get("events/categories") return_error_or_body(response, response.body.response.categories) end end end
Version data entries
10 entries across 10 versions & 1 rubygems