Class: Yelp::Fusion::Endpoint::Review
- Inherits:
-
Object
- Object
- Yelp::Fusion::Endpoint::Review
- Defined in:
- lib/yelp/fusion/endpoint/review.rb
Overview
Class to search for business reviews
Constant Summary collapse
- PATH =
'/v3/businesses/'.freeze
Instance Method Summary collapse
-
#initialize(client) ⇒ Review
constructor
A new instance of Review.
-
#review(id, locale = {}) ⇒ Response::Review
Make a request to the business endpoint on the API.
Constructor Details
#initialize(client) ⇒ Review
Returns a new instance of Review.
35 36 37 |
# File 'lib/yelp/fusion/endpoint/review.rb', line 35 def initialize(client) @client = client end |