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