Sha256: 27ac33f44cb978a1ab000c139175fb5b5996ffa863ce837cc6c188bd90e5935c
Contents?: true
Size: 534 Bytes
Versions: 74
Compression:
Stored size: 534 Bytes
Contents
module GovukContentModels module ActionProcessors class ReceiveFactCheckProcessor < BaseProcessor # Always records the action. def process edition.perform_event_without_validations(:receive_fact_check) # Fact checks are processed async, so the user doesn't get an opportunity # to retry without the content that (inadvertantly) fails validation, which happens frequently. record_action_without_validation end def record_action? false end end end end
Version data entries
74 entries across 74 versions & 1 rubygems