Sha256: 3f51fc04f3c48c7f85bcf37fc910e05ff114950c20a34b0dff4e73bb45aea907
Contents?: true
Size: 406 Bytes
Versions: 29
Compression:
Stored size: 406 Bytes
Contents
# frozen_string_literal: true # Represents an action to set a new recovery point. One possible option for a # return from an #atomic_phase block. module AcidicJob class RecoveryPoint attr_accessor :name def initialize(name) @name = name end def call(run:) # Skip AR callbacks as there are none on the model run.update_column(:recovery_point, @name) end end end
Version data entries
29 entries across 29 versions & 1 rubygems