Class: Naf::ApplicationRunGroupRestriction

Inherits:
NafBase
  • Object
show all
Defined in:
app/models/naf/application_run_group_restriction.rb

Class Method Summary collapse

Methods inherited from NafBase

full_table_name_prefix

Class Method Details

.limited_per_all_machinesObject



34
35
36
# File 'app/models/naf/application_run_group_restriction.rb', line 34

def self.limited_per_all_machines
  @limited_per_all_machines ||= find_by_application_run_group_restriction_name('limited per all machines')
end

.limited_per_machineObject



30
31
32
# File 'app/models/naf/application_run_group_restriction.rb', line 30

def self.limited_per_machine
  @limited_per_machine ||= find_by_application_run_group_restriction_name('limited per machine')
end

.no_limitObject



26
27
28
# File 'app/models/naf/application_run_group_restriction.rb', line 26

def self.no_limit
  @no_limit ||= find_by_application_run_group_restriction_name('no limit')
end