Module: RoleStrategy::ActiveRecord::AdminFlag
- Extended by:
- Roles::Generic::User::Configuration
- Defined in:
- lib/roles_active_record/strategy/single/admin_flag.rb
Defined Under Namespace
Modules: ClassMethods, Implementation
Class Method Summary
collapse
Class Method Details
.default_role_attribute ⇒ Object
5
6
7
|
# File 'lib/roles_active_record/strategy/single/admin_flag.rb', line 5
def self.default_role_attribute
:admin_flag
end
|
.included(base) ⇒ Object
9
10
11
|
# File 'lib/roles_active_record/strategy/single/admin_flag.rb', line 9
def self.included base
base.extend ClassMethods
end
|