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