Module: Authority::Abilities::ClassMethods
- Defined in:
- lib/authority/abilities.rb
Instance Method Summary collapse
Instance Method Details
#authorizer ⇒ Object
31 32 33 34 35 |
# File 'lib/authority/abilities.rb', line 31 def @authorizer ||= .constantize # Get an actual reference to the authorizer class rescue NameError raise Authority::NoAuthorizerError.new("#{} does not exist in your application") end |