module Aucklandia::ScheduledWorks

Constants

SCHEDULED_WORKS_ENDPOINT

Public Instance Methods

get_scheduled_works() click to toggle source
# File lib/aucklandia/scheduled_works.rb, line 5
def get_scheduled_works
  url = build_url(BASE_URL, SCHEDULED_WORKS_ENDPOINT)

  response = get(url)

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