Module: AngellistApi::Client::Reviews
- Included in:
- AngellistApi::Client
- Defined in:
- lib/angellist_api/client/reviews.rb
Overview
Defines methods related to URLs
Instance Method Summary collapse
-
#get_review(id) ⇒ Object
Shows details for a specific review.
-
#get_reviews(options = {}) ⇒ Object
Return reviews for the given user.
Instance Method Details
#get_review(id) ⇒ Object
Shows details for a specific review
35 36 37 |
# File 'lib/angellist_api/client/reviews.rb', line 35 def get_review(id) get("1/reviews/#{id}") end |
#get_reviews(options = {}) ⇒ Object
Return reviews for the given user. If no user given, the authenticated user is used. Reviews are paginated and ordered by most recent first. Also returns the total count of positive reviews.
23 24 25 |
# File 'lib/angellist_api/client/reviews.rb', line 23 def get_reviews(={}) get("1/reviews", ) end |