module Authpds::Helpers::Institution::ParamHelper

Public Instance Methods

institution_param() click to toggle source

The institution param as a Symbol

# File lib/authpds/helpers/institution/param_helper.rb, line 11
def institution_param
  if params["#{institution_param_key}"].present?
    params["#{institution_param_key}"].to_sym
  end
end
institution_param_key() click to toggle source

The institution param key as configured in UserSession

# File lib/authpds/helpers/institution/param_helper.rb, line 6
def institution_param_key
  @institution_param_key ||= UserSession.institution_param_key
end