Module: Aucklandia::ParkingLocations
- Included in:
- Client
- Defined in:
- lib/aucklandia/parking_locations.rb
Constant Summary collapse
- PARKING_LOCATIONS_ENDPOINT =
'/locations/parkinglocations'
Instance Method Summary collapse
Instance Method Details
#get_parking_locations ⇒ Object
5 6 7 8 9 10 11 |
# File 'lib/aucklandia/parking_locations.rb', line 5 def get_parking_locations url = build_url(BASE_URL, PARKING_LOCATIONS_ENDPOINT) response = get(url) JSON.parse(response)['response'] end |