Module: YellowApi::Client::FindDealer
- Included in:
- YellowApi::Client
- Defined in:
- lib/yellow_api/client/find_dealer.rb
Instance Method Summary (collapse)
-
- (Hash) find_dealer(parent_id, options = {})
Returns a list of all dealers/franchises/branches for that business.
Instance Method Details
- (Hash) find_dealer(parent_id, options = {})
Note:
A business with several locations may have a "parent" listing (primary) and one or more "children" listings.
Returns a list of all dealers/franchises/branches for that business.
21 22 23 24 25 |
# File 'lib/yellow_api/client/find_dealer.rb', line 21 def find_dealer(parent_id, ={}) [:pid] = parent_id get('/FindDealer/', ) end |