Module: RoleStrategy::Generic::ManyRoles

Extended by:
Roles::Generic::User::Configuration
Defined in:
lib/roles_generic/strategy/multi/many_roles.rb

Defined Under Namespace

Modules: Implementation

Class Method Summary collapse

Methods included from Roles::Generic::User::Configuration

configure

Class Method Details

.default_role_attributeObject



3
4
5
# File 'lib/roles_generic/strategy/multi/many_roles.rb', line 3

def self.default_role_attribute
  :many_roles
end

.included(base) ⇒ Object



26
27
28
# File 'lib/roles_generic/strategy/multi/many_roles.rb', line 26

def self.included(base)
  base.extend Roles::Generic::Role::ClassMethods
end