Class: SystemTaskResolution
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SystemTaskResolution
- Defined in:
- app/models/system_task_resolution.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.BLOCKED ⇒ Object
14 15 16 |
# File 'app/models/system_task_resolution.rb', line 14 def self.BLOCKED readonly.find_by_name("BLOCKED") end |
.CANCELED ⇒ Object
10 11 12 |
# File 'app/models/system_task_resolution.rb', line 10 def self.CANCELED readonly.find_by_name("CANCELED") end |
.RESOLVED ⇒ Object
6 7 8 |
# File 'app/models/system_task_resolution.rb', line 6 def self.RESOLVED readonly.find_by_name("RESOLVED") end |
.RESOLVED_WITH_BUSINESS ⇒ Object
18 19 20 |
# File 'app/models/system_task_resolution.rb', line 18 def self.RESOLVED_WITH_BUSINESS readonly.find_by_name("RESOLVED_WITH_BUSINESS") end |
Instance Method Details
#name ⇒ Object
23 24 25 |
# File 'app/models/system_task_resolution.rb', line 23 def name I18n.t("task_resolutions.%s" % super) end |