module Twitch
  class Partnership < Twitch::Base
    self.service_endpoint = Settings.partnerships.endpoint

    def self.partner_info(user_id)
      response = get "/partners/#{user_id}/properties"
      return {} unless response.success?
      return response.body
    end
  end
end
