Class: Resolution
- Inherits:
-
Sequel::Model
- Object
- Sequel::Model
- Resolution
- Defined in:
- model/resolution.rb
Constant Summary collapse
- RESOLUTION_ACCEPT =
'yes'
- RESOLUTION_REJECT =
'no'
- NO_RESOLUTION =
'NR'
- PREVIOUS_REJECT =
"PR"
- NAMES =
{ RESOLUTION_ACCEPT=>:Included, RESOLUTION_REJECT=>:Rejected, NO_RESOLUTION=>:No_resolution, PREVIOUS_REJECT=>:Previous_reject }
Class Method Summary collapse
Class Method Details
.get_name_resolution(x) ⇒ Object
45 46 47 |
# File 'model/resolution.rb', line 45 def self.get_name_resolution(x) x.nil? ? NO_RESOLUTION : NAMES[x] end |