Class: CanTango::Configuration::Engines::Permit
- Defined in:
- lib/cantango/configuration/engines/permit.rb
Instance Method Summary collapse
Methods inherited from Engine
Methods included from Modes
Instance Method Details
#on? ⇒ Boolean
5 6 7 8 |
# File 'lib/cantango/configuration/engines/permit.rb', line 5 def on? @state ||= :on @state == :on end |
#special_permits ⇒ Object
14 15 16 |
# File 'lib/cantango/configuration/engines/permit.rb', line 14 def special_permits [:any, :system] end |
#types ⇒ Object
10 11 12 |
# File 'lib/cantango/configuration/engines/permit.rb', line 10 def types [:roles, :role_groups, :licenses, :users] end |