Sha256: 929262c16b9779be1b8c1e16835dff48744e382ba02fc081a71e3820185588f0
Contents?: true
Size: 871 Bytes
Versions: 7
Compression:
Stored size: 871 Bytes
Contents
require_relative '../api_client' require_relative './tunes' require_relative '../../tunes/tunes_client' module Spaceship class ConnectAPI module Tunes class Client < Spaceship::ConnectAPI::APIClient def initialize(cookie: nil, current_team_id: nil, token: nil, another_client: nil) another_client ||= Spaceship::Tunes.client if cookie.nil? && token.nil? super(cookie: cookie, current_team_id: current_team_id, token: token, another_client: another_client) # Used by most iris requests starting in July 2021 @additional_headers = { 'x-csrf-itc': '[asc-ui]' } if another_client self.extend(Spaceship::ConnectAPI::Tunes::API) self.tunes_request_client = self end def self.hostname 'https://appstoreconnect.apple.com/iris/' end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems