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.174.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.173.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.172.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.171.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.170.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.169.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.168.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.167.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.166.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.165.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.164.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.163.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.162.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.161.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.160.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.159.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.158.0 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.157.4 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.157.3 spaceship/lib/spaceship/connect_api/users/client.rb
fastlane-2.157.2 spaceship/lib/spaceship/connect_api/users/client.rb