class GdsApi::PublishingApiV2
def get_content_items(params)
- See: https://github.com/alphagov/publishing-api/blob/master/doc/publishing-api-syntactic-usage.md#get-v2content -
def get_content_items(params) query = query_string(params) get_json("#{endpoint}/v2/content#{query}") end