Sha256: e6e0f18fea1f1fa22402f5aa7b003d29c4f7338b55d85032d183874fa0fc3431
Contents?: true
Size: 1.12 KB
Versions: 2
Compression:
Stored size: 1.12 KB
Contents
module Authpds module Session module CoreAttributes def anonymous @anonymous ||=self.class.anonymous end alias anonymous? anonymous def calling_system @calling_system ||= self.class.calling_system end def login_inaccessible_url @login_inaccessible_url ||= self.class.login_inaccessible_url end def pds_attributes @pds_attributes ||= self.class.pds_attributes end def pds_url @pds_url ||= self.class.pds_url end def redirect_logout_url @redirect_logout_url ||= self.class.redirect_logout_url end def validate_url_name @validate_url_name ||= self.class.validate_url_name end def pds_handle @pds_handle ||= (controller.cookies[:PDS_HANDLE] || controller.params[:pds_handle]) end 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
authpds-0.2.2 | lib/authpds/session/core_attributes.rb |
authpds-0.2.1 | lib/authpds/session/core_attributes.rb |