untappd-api 0.0.2 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +16 -6
- data/lib/untappd.rb +28 -0
- data/lib/untappd/api.rb +79 -0
- data/lib/untappd/client.rb +17 -0
- data/lib/untappd/client/beer.rb +65 -0
- data/lib/untappd/client/brewery.rb +48 -0
- data/lib/untappd/client/checkin.rb +113 -0
- data/lib/untappd/client/user.rb +95 -0
- data/lib/untappd/client/venue.rb +34 -0
- data/lib/untappd/configuration.rb +52 -0
- data/lib/untappd/error.rb +27 -0
- data/lib/untappd/version.rb +3 -0
- data/spec/fixtures/add_comment.json +1 -0
- data/spec/fixtures/badges.json +1 -0
- data/spec/fixtures/beer.json +1 -0
- data/spec/fixtures/beer_feed.json +1 -0
- data/spec/fixtures/beer_search.json +1 -0
- data/spec/fixtures/brewery.json +1 -0
- data/spec/fixtures/brewery_feed.json +1 -0
- data/spec/fixtures/brewery_search.json +1 -0
- data/spec/fixtures/checkin.json +1 -0
- data/spec/fixtures/checkin_details.json +1 -0
- data/spec/fixtures/delete_comment.json +1 -0
- data/spec/fixtures/distinct_beers.json +1 -0
- data/spec/fixtures/friend_feed.json +1 -0
- data/spec/fixtures/friends.json +1 -0
- data/spec/fixtures/public_feed.json +1 -0
- data/spec/fixtures/toast.json +1 -0
- data/spec/fixtures/trending_beers.json +1 -0
- data/spec/fixtures/untoast.json +1 -0
- data/spec/fixtures/user.json +1 -0
- data/spec/fixtures/user_feed.json +1 -0
- data/spec/fixtures/venue.json +1 -0
- data/spec/fixtures/venue_feed.json +1 -0
- data/spec/fixtures/wish_list.json +1 -0
- data/spec/spec_helper.rb +47 -0
- data/spec/untappd/api_spec.rb +68 -0
- data/spec/untappd/client/beer_spec.rb +102 -0
- data/spec/untappd/client/brewery_spec.rb +81 -0
- data/spec/untappd/client/checkin_spec.rb +185 -0
- data/spec/untappd/client/user_spec.rb +340 -0
- data/spec/untappd/client/venue_spec.rb +56 -0
- data/spec/untappd_spec.rb +80 -0
- data/untappd-api.gemspec +8 -2
- metadata +130 -66
- data/lib/untappd-api.rb +0 -192
- data/lib/untappd-api/version.rb +0 -3
- data/spec/untappd-api_spec.rb +0 -5
data/lib/untappd-api/version.rb
DELETED