Module: NYCGeoClient::Client::Place
- Included in:
- NYCGeoClient::Client
- Defined in:
- lib/nyc_geo_client/client/place.rb
Overview
Defines methods related to branches
Instance Method Summary collapse
-
#place(name, borough) ⇒ Hashie::Mash
Returns address information using a well-known place name as input.
Instance Method Details
#place(name, borough) ⇒ Hashie::Mash
Returns address information using a well-known place name as input.
14 15 16 17 18 19 20 |
# File 'lib/nyc_geo_client/client/place.rb', line 14 def place(name, borough) = { name: name, borough: borough } get(place_path, ) end |