Sha256: 5fce053bd4e6b9defef5d790378971b13ee7fb4fbcec677e145db89fbc4b3556

Contents?: true

Size: 316 Bytes

Versions: 15

Compression:

Stored size: 316 Bytes

Contents

module Rasti
  class App
    class Session

      attr_reader :user
      attr_accessor :job_id

      def initialize(options)
        @options = options
      end

      def user
        options.fetch(:user)
      end

      alias_method :to_s, :inspect

      private

      attr_reader :options

    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rasti-app-11.0.0 lib/rasti/app/session.rb
rasti-app-10.0.1 lib/rasti/app/session.rb
rasti-app-10.0.0 lib/rasti/app/session.rb
rasti-app-9.0.0 lib/rasti/app/session.rb
rasti-app-8.0.1 lib/rasti/app/session.rb
rasti-app-8.0.0 lib/rasti/app/session.rb
rasti-app-7.1.1 lib/rasti/app/session.rb
rasti-app-7.1.0 lib/rasti/app/session.rb
rasti-app-7.0.2 lib/rasti/app/session.rb
rasti-app-7.0.1 lib/rasti/app/session.rb
rasti-app-7.0.0 lib/rasti/app/session.rb
rasti-app-6.0.1 lib/rasti/app/session.rb
rasti-app-6.0.0 lib/rasti/app/session.rb
rasti-app-5.0.0 lib/rasti/app/session.rb
rasti-app-4.0.2 lib/rasti/app/session.rb