Sha256: 9867cd9bf141b7a092270d18475d3f883518a9ff1b02ad2f1e8c40669e3ea272

Contents?: true

Size: 757 Bytes

Versions: 3

Compression:

Stored size: 757 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)

          self.extend(Spaceship::ConnectAPI::Tunes::API)
          self.tunes_request_client = self
        end

        def self.hostname
          'https://appstoreconnect.apple.com/iris/v1/'
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 spaceship/lib/spaceship/connect_api/tunes/client.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/connect_api/tunes/client.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/connect_api/tunes/client.rb