Class: CanTango::Configuration::Roles
- Inherits:
-
System
- Object
- Base
- CanTango::Configuration::Registry::Role
- System
- CanTango::Configuration::Roles
- Defined in:
- lib/cantango/roles_ext/configuration/roles.rb
Instance Method Summary collapse
Methods inherited from System
#add_systems, #default_system, #system=, #system_api, #system_apis, #system_apis=
Methods inherited from CanTango::Configuration::Registry::Role
#clear!, #exclude, #excluded, #filter?, #onlies, #only
Instance Method Details
#default_system_apis ⇒ Object
8 9 10 11 12 13 |
# File 'lib/cantango/roles_ext/configuration/roles.rb', line 8 def default_system_apis { :troles => {:list => :role_list, :has => :has_role?}, :simple_roles => {:list => :roles_list} } end |
#system ⇒ Object
4 5 6 |
# File 'lib/cantango/roles_ext/configuration/roles.rb', line 4 def system @system ||= :simple_roles end |