Sha256: 99861995becf0d6588f0dac72ca1532b6c872534c716c8c05c8e0ad946b420f3

Contents?: true

Size: 341 Bytes

Versions: 7

Compression:

Stored size: 341 Bytes

Contents

module Authpds
  module Session
    module SessionId
      def session_id
        @session_id ||=
          (controller.session.respond_to?(:session_id)) ?
            (controller.session.session_id) ?
              controller.session.session_id : controller.session[:session_id] : controller.session[:session_id]
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authpds-0.2.9 lib/authpds/session/session_id.rb
authpds-0.2.8 lib/authpds/session/session_id.rb
authpds-0.2.7 lib/authpds/session/session_id.rb
authpds-0.2.6 lib/authpds/session/session_id.rb
authpds-0.2.5 lib/authpds/session/session_id.rb
authpds-0.2.4 lib/authpds/session/session_id.rb
authpds-0.2.3 lib/authpds/session/session_id.rb