module Aucklandia::CalendarDates

Constants

CALENDAR_DATES_ENDPOINT

Public Instance Methods

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