module Aucklandia::Calendars

Constants

CALENDARS_ENDPOINT

Public Instance Methods

get_calendars() click to toggle source
# File lib/aucklandia/calendars.rb, line 5
def get_calendars
        url = build_url(BASE_URL, CALENDARS_ENDPOINT)

        response = get(url)

        JSON.parse(response)['response']
end