Module: ProductHunt::API::Users
- Included in:
- ProductHunt::API
- Defined in:
- lib/product_hunt/api/users.rb
Constant Summary collapse
- PATH =
"/users"
Instance Method Summary collapse
Instance Method Details
#user(id, options = {}) ⇒ Object
7 8 9 10 |
# File 'lib/product_hunt/api/users.rb', line 7 def user(id, = {}) user = fetch(PATH + "/#{id}", )["user"] User.new(user, self) end |