Module: Goodreads::Users
- Included in:
- Client
- Defined in:
- lib/goodreads/client/users.rb
Instance Method Summary collapse
-
#user(id) ⇒ Object
Get user details.
Instance Method Details
#user(id) ⇒ Object
Get user details
5 6 7 8 |
# File 'lib/goodreads/client/users.rb', line 5 def user(id) data = request('/user/show', :id => id) Hashie::Mash.new(data['user']) end |