Module: RoleStrategy::Generic::EmbedOneRole
- Extended by:
- Roles::Generic::User::Configuration
- Defined in:
- lib/roles_generic/strategy/single/embed_one_role.rb
Defined Under Namespace
Modules: Implementation
Class Method Summary collapse
Methods included from Roles::Generic::User::Configuration
Methods included from Roles::Generic::User::Implementation::Single
#add_roles, #remove_roles, #roles_list
Class Method Details
.default_role_attribute ⇒ Object
3 4 5 |
# File 'lib/roles_generic/strategy/single/embed_one_role.rb', line 3 def self.default_role_attribute :one_role end |
.included(base) ⇒ Object
32 33 34 |
# File 'lib/roles_generic/strategy/single/embed_one_role.rb', line 32 def self.included(base) base.extend Roles::Generic::Role::ClassMethods end |