Module: Foursquared::Badges
- Included in:
- Client
- Defined in:
- lib/foursquared/badges.rb
Overview
Badges module
Instance Method Summary collapse
-
#badge(badge_id) ⇒ Foursquared::Response::Badge
Badge details.
Instance Method Details
#badge(badge_id) ⇒ Foursquared::Response::Badge
Badge details
7 8 9 10 |
# File 'lib/foursquared/badges.rb', line 7 def badge badge_id response = get("/badges/#{badge_id}")["response"] Foursquared::Response::Badge.new(self,response["badge"]) end |