Class: SystemAbility
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SystemAbility
- Defined in:
- app/models/system_ability.rb
Class Method Summary collapse
Class Method Details
.CREATE ⇒ Object
4 5 6 |
# File 'app/models/system_ability.rb', line 4 def self.CREATE readonly.find_by_name("CREATE") end |
.DELETE ⇒ Object
13 14 15 |
# File 'app/models/system_ability.rb', line 13 def self.DELETE readonly.find_by_name("DELETE") end |
.READ ⇒ Object
7 8 9 |
# File 'app/models/system_ability.rb', line 7 def self.READ readonly.find_by_name("READ") end |
.UPDATE ⇒ Object
10 11 12 |
# File 'app/models/system_ability.rb', line 10 def self.UPDATE readonly.find_by_name("UPDATE") end |