Class: SystemAbility

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
app/models/system_ability.rb

Class Method Summary collapse

Class Method Details

.CREATEObject



4
5
6
# File 'app/models/system_ability.rb', line 4

def self.CREATE
   readonly.find_by_name("CREATE")
end

.DELETEObject



13
14
15
# File 'app/models/system_ability.rb', line 13

def self.DELETE
  readonly.find_by_name("DELETE")
end

.READObject



7
8
9
# File 'app/models/system_ability.rb', line 7

def self.READ
  readonly.find_by_name("READ")
end

.UPDATEObject



10
11
12
# File 'app/models/system_ability.rb', line 10

def self.UPDATE
  readonly.find_by_name("UPDATE")
end