module Aucklandia::ParkingLocations

Constants

PARKING_LOCATIONS_ENDPOINT

Public Instance Methods

get_parking_locations() click to toggle source
# 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