require_relative 'base'
require_relative 'exceptions'

class GdsApi::ContentStore < GdsApi::ContentApi

  def content_item(base_path)
    get_json(content_item_url(base_path))
  end

  def content_item!(base_path)
    get_json!(content_item_url(base_path))
  end

  private

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

require_relative 'base'
require_relative 'exceptions'

class GdsApi::ContentStore < GdsApi::Base

  def content_item(base_path)
    get_json(content_item_url(base_path))
  end

  def content_item!(base_path)
    get_json!(content_item_url(base_path))
  end

  private

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

Fix inheritance of content-store client.
Fix inheritance of content-store client.

It wasn't requiring gds_api/content_api, which was causing issues in
some circumstances. It doesn't actually need to inherit from
GdsApi::ContentApi, so this changes it to just inherit from Base
