Class: GovukContentModels::ActionProcessors::RequestAmendmentsProcessor
- Inherits:
-
BaseProcessor
- Object
- BaseProcessor
- GovukContentModels::ActionProcessors::RequestAmendmentsProcessor
- Defined in:
- lib/govuk_content_models/action_processors/request_amendments_processor.rb
Instance Attribute Summary
Attributes inherited from BaseProcessor
#action_attributes, #actor, #edition, #event_attributes
Instance Method Summary collapse
Methods inherited from BaseProcessor
#initialize, #processed_edition
Constructor Details
This class inherits a constructor from GovukContentModels::ActionProcessors::BaseProcessor
Instance Method Details
#process? ⇒ Boolean
5 6 7 8 9 10 11 |
# File 'lib/govuk_content_models/action_processors/request_amendments_processor.rb', line 5 def process? if edition.in_review? requester_different? else true end end |