class GdsApi::Rummager
def get_content(base_path)
- See: https://github.com/alphagov/rummager/blob/master/doc/content-api.md -
Parameters:
-
base_path
(String
) -- Base path of the page on GOV.UK.
def get_content(base_path) request_url = "#{base_url}/content?link=#{base_path}" get_json(request_url) end