Sha256: 88c3d871baa4fffc2f6e055f70213966ba5b56829bf709bb52a0ea49d74a0324
Contents?: true
Size: 446 Bytes
Versions: 3
Compression:
Stored size: 446 Bytes
Contents
module Authpds module Session module InstitutionAttributes def institution_attributes @institution_attributes ||= (controller.current_primary_institution.nil? or controller.current_primary_institution.auth.nil?) ? {} : controller.current_primary_institution.auth end def insitution_code @institution_code ||= institution_attributes["code"] end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
authpds-1.1.5 | lib/authpds/session/institution_attributes.rb |
authpds-1.1.4 | lib/authpds/session/institution_attributes.rb |
authpds-1.1.3 | lib/authpds/session/institution_attributes.rb |