Module: HS::ReviewStatus
Constant Summary collapse
- REVIEW_STATUSES =
Possible values for review status:
-
‘none` not reviewed and/or not translated, needs edit or translation
-
‘translated` initial translatation was done, needs edit
-
‘first` first editorial review was done
-
‘second` second editorial review was done
-
‘final` final editorial review was done
-
%w[none translated first second final].freeze
Instance Attribute Summary collapse
Instance Attribute Details
#review_status ⇒ Object
16 17 18 19 |
# File 'lib/hs/models/review_status.rb', line 16 def review_status return 'none' unless REVIEW_STATUSES.include?(@review_status) @review_status end |