class GdsApi::Search

def get_content(base_path)

Other tags:
    See: https://github.com/alphagov/search-api/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