Sha256: 2ff4f83c20d3da4a90317310ef7567f7c18791527081b9758c55b6ccf4618674

Contents?: true

Size: 210 Bytes

Versions: 15

Compression:

Stored size: 210 Bytes

Contents

module Shipit
  class PurgeOldDeliveriesJob < BackgroundJob
    include BackgroundJob::Unique

    queue_as :low
    on_duplicate :drop

    def perform(hook)
      hook.purge_old_deliveries!
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
shipit-engine-0.31.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.30.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.29.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.28.1 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.28.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.27.1 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.27.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.26.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.25.1 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.25.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.24.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.23.1 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.23.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.22.0 app/jobs/shipit/purge_old_deliveries_job.rb
shipit-engine-0.21.0 app/jobs/shipit/purge_old_deliveries_job.rb