Sha256: 4ba980e0d01a033cbeedc21e68a238f6c52caa00fa8ddb70035f62d91a30686b
Contents?: true
Size: 502 Bytes
Versions: 3
Compression:
Stored size: 502 Bytes
Contents
module Authpds module Helpers module Institution module ParamHelper # The institution param key as configured in UserSession def institution_param_key @institution_param_key ||= UserSession.institution_param_key end # The institution param as a Symbol def institution_param if params["#{institution_param_key}"].present? params["#{institution_param_key}"].to_sym end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authpds-1.1.5 | lib/authpds/helpers/institution/param_helper.rb |
authpds-1.1.4 | lib/authpds/helpers/institution/param_helper.rb |
authpds-1.1.3 | lib/authpds/helpers/institution/param_helper.rb |