Sha256: 000aa0aa9bb48847b066408fbc3fd74d0591809aaedb9981a0f8ef6b5ccc098f

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
spaceship-0.4.0 lib/spaceship/portal/portal_base.rb