Class: CanTango::Configuration::RoleGroups

Inherits:
System show all
Defined in:
lib/cantango/roles_ext/configuration/role_groups.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_apisObject



8
9
10
11
12
# File 'lib/cantango/roles_ext/configuration/role_groups.rb', line 8

def default_system_apis
  {
    :troles => {:list => :role_group_list, :has => :in_role_group?}
  }
end

#systemObject



4
5
6
# File 'lib/cantango/roles_ext/configuration/role_groups.rb', line 4

def system
  @system ||= :troles
end