module AuthLh::RoleManagement

Public Class Methods

included(base) click to toggle source
# File lib/auth_lh/role_management.rb, line 3
def self.included(base)
  base.extend(ClassMethods)
end

Public Instance Methods

auth_role() click to toggle source
# File lib/auth_lh/role_management.rb, line 7
def auth_role
  if @auth_role.nil?
    @auth_role = self.class.find_external(id)
  end

  @auth_role
end
auth_role=(val) click to toggle source
# File lib/auth_lh/role_management.rb, line 15
def auth_role=(val)
  @auth_role = val
end