Sha256: a2ee39afc3ccafe39dbdd984f98053dbfca35728beb3feaa9bec52bed48d91e0

Contents?: true

Size: 733 Bytes

Versions: 42

Compression:

Stored size: 733 Bytes

Contents

require_relative '../api_client'
require_relative './users'
require_relative '../../tunes/tunes_client'

module Spaceship
  class ConnectAPI
    module Users
      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::Users::API)
          self.users_request_client = self
        end

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

Version data entries

42 entries across 42 versions & 1 rubygems

Version Path
fastlane-2.189.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.188.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.187.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.186.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.185.1 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.185.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.184.1 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.184.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.183.2 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.183.1 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.183.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.182.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.181.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.180.1 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.180.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.179.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.178.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.177.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.176.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.175.0 spaceship/lib/spaceship/connect_api/users/client.rb