class GdsApi::ContentStore

def content_item(base_path)

def content_item(base_path)
  get_json(content_item_url(base_path))
rescue GdsApi::HTTPNotFound => e
  raise ItemNotFound.build_from(e)
end

def content_item!(_)

def content_item!(_)
  raise "`ContentStore#content_item!` is deprecated. Use `ContentStore#content_item` instead"
end

def content_item_url(base_path)

def content_item_url(base_path)
  "#{endpoint}/content#{base_path}"
end