Sha256: 32e30972210c1f521ffbfdda1d7d3ac7ce170ec0b86b8d213e02773818799386

Contents?: true

Size: 778 Bytes

Versions: 3

Compression:

Stored size: 778 Bytes

Contents

require_relative '../api_client'
require_relative './testflight'
require_relative '../../tunes/tunes_client'

module Spaceship
  class ConnectAPI
    module TestFlight
      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::TestFlight::API)
          self.test_flight_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/testflight/client.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/connect_api/testflight/client.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/connect_api/testflight/client.rb