Sha256: 65005322d043fa2375610b704d6bdcce494dcedaa898ab8b8a890afa442031a4

Contents?: true

Size: 360 Bytes

Versions: 8

Compression:

Stored size: 360 Bytes

Contents

module Reactor
  module SessionHelper
    module RsessionHelper
      def rsession
        @__rsession ||= RsessionHelper.from_session(session)
      end

      def self.from_session(session)
        Reactor::Session.new(
          # This passes the very powerfull rails session object
          SessionState.new(session)
        )
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
infopark_reactor-1.29.1 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.29.0 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.28.0 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.27.0.rc10 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.27.0.rc9 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.27.0.rc8 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.27.0.rc7 lib/reactor/session_helper/rsession_helper.rb
infopark_reactor-1.27.0.rc4 lib/reactor/session_helper/rsession_helper.rb