Sha256: b6740775e53b7400490f398bd294c8e26e5fedab37bef230559cf45782f5e8a6

Contents?: true

Size: 313 Bytes

Versions: 19

Compression:

Stored size: 313 Bytes

Contents

# frozen_string_literal: true

require_relative "run"

# Represents an action to set a new API response (which will be stored onto an
# idempotency key). One  possible option for a return from an #atomic_phase
# block.
module AcidicJob
  class FinishedPoint
    def call(run:)
      run.finish!
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
acidic_job-0.9.0 lib/acidic_job/finished_point.rb
acidic_job-0.8.8 lib/acidic_job/finished_point.rb
acidic_job-0.8.7 lib/acidic_job/finished_point.rb
acidic_job-0.8.5 lib/acidic_job/finished_point.rb
acidic_job-0.8.4 lib/acidic_job/finished_point.rb
acidic_job-0.8.3 lib/acidic_job/finished_point.rb
acidic_job-0.8.2 lib/acidic_job/finished_point.rb
acidic_job-0.8.1 lib/acidic_job/finished_point.rb
acidic_job-0.8.0 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.10 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.9 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.8 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.7 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.6 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.5 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.4 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.3 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.2 lib/acidic_job/finished_point.rb
acidic_job-1.0.0.beta.1 lib/acidic_job/finished_point.rb