Module: Untappd::Client::User
- Included in:
- Untappd::Client
- Defined in:
- lib/untappd-api/client/user.rb
Instance Method Summary collapse
-
#badges(options = {}) ⇒ Hashie::Mash
Returns the badge info for the requested user.
-
#distinct_beers(options = {}) ⇒ Hashie::Mash
Returns the distinct beers of the requested user.
-
#friend_feed(options = {}) ⇒ Hashie::Mash
Returns the friend feed for the authenticated user.
-
#friends(options = {}) ⇒ Hashie::Mash
Returns the friends for the requested user.
-
#user(options = {}) ⇒ Hashie::Mash
Returns the info for the requested user.
-
#user_feed(options = {}) ⇒ Hashie::Mash
Returns the feed for the specified user.
-
#wish_list(options = {}) ⇒ Hashie::Mash
Returns the wish list of the requested user.
Instance Method Details
#badges(options = {}) ⇒ Hashie::Mash
Returns the badge info for the requested user.
52 53 54 |
# File 'lib/untappd-api/client/user.rb', line 52 def badges(={}) get('/user_badge', ) end |
#distinct_beers(options = {}) ⇒ Hashie::Mash
Returns the distinct beers of the requested user.
90 91 92 |
# File 'lib/untappd-api/client/user.rb', line 90 def distinct_beers(={}) get('/user_distinct', ) end |
#friend_feed(options = {}) ⇒ Hashie::Mash
Returns the friend feed for the authenticated user.
28 29 30 |
# File 'lib/untappd-api/client/user.rb', line 28 def friend_feed(={}) get('/feed', ) end |
#friends(options = {}) ⇒ Hashie::Mash
Returns the friends for the requested user.
64 65 66 |
# File 'lib/untappd-api/client/user.rb', line 64 def friends(={}) get('/friends', ) end |
#user(options = {}) ⇒ Hashie::Mash
Returns the info for the requested user.
40 41 42 |
# File 'lib/untappd-api/client/user.rb', line 40 def user(={}) get('/user', ) end |
#user_feed(options = {}) ⇒ Hashie::Mash
Returns the feed for the specified user.
15 16 17 |
# File 'lib/untappd-api/client/user.rb', line 15 def user_feed(={}) get('/user_feed', ) end |
#wish_list(options = {}) ⇒ Hashie::Mash
Returns the wish list of the requested user.
77 78 79 |
# File 'lib/untappd-api/client/user.rb', line 77 def wish_list(={}) get('/wish_list', ) end |