Module: Authorization
- Defined in:
- lib/authorization.rb,
lib/authorization/aasm_roles.rb,
lib/authorization/stateful_roles.rb
Defined Under Namespace
Modules: AasmRoles, ModelClassMethods, ModelInstanceMethods, StatefulRoles
Class Method Summary collapse
Class Method Details
.included(recipient) ⇒ Object
2 3 4 5 6 7 |
# File 'lib/authorization.rb', line 2 def self.included(recipient) recipient.extend(ModelClassMethods) recipient.class_eval do include ModelInstanceMethods end end |