Module: SupermarketApi::Client::Users
- Included in:
- SupermarketApi::Client
- Defined in:
- lib/supermarketapi/client/users.rb
Overview
Methods for the Users API.
Instance Method Summary collapse
-
#user(username) ⇒ Hashie::Mash
Show all information about a user.
Instance Method Details
#user(username) ⇒ Hashie::Mash
Show all information about a user
This method returns all available information for the given user
17 18 19 |
# File 'lib/supermarketapi/client/users.rb', line 17 def user(username) get "/users/#{username}" end |