Sha256: 40cf3b19773b7462b431d6b660bb2f389111a72c962635ac495884bffd64b62c

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

require_relative '../base'

module Spaceship
  class PortalBase < Spaceship::Base
    class << self
      def client
        require_relative 'spaceship'
        (
          @client or
          Spaceship::Portal.client or
          raise "Please login using `Spaceship::Portal.login('user', 'password')`"
        )
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 spaceship/lib/spaceship/portal/portal_base.rb
fastlane_hotfix-2.165.0 spaceship/lib/spaceship/portal/portal_base.rb
fastlane_hotfix-2.187.0 spaceship/lib/spaceship/portal/portal_base.rb