Sha256: 2ee48232196615c8a8fe1b78cf1e1f538acc5118af987f8179ecd641c048f2de

Contents?: true

Size: 300 Bytes

Versions: 16

Compression:

Stored size: 300 Bytes

Contents

module Workarea
  class PerformApiBulkUpsert
    include Sidekiq::Worker
    include Sidekiq::CallbacksWorker

    sidekiq_options(
      enqueue_on: { Api::Admin::BulkUpsert => :create },
      retry: false
    )

    def perform(id)
      Api::Admin::BulkUpsert.find(id).perform!
    end
  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
workarea-api-4.5.6 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.5.6 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.5.5 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.5.5 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.5.4 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.5.4 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.5.3 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.5.3 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.5.2 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.5.2 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.5.0 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.5.0 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.4.7 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.4.7 app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-4.4.6 admin/app/workers/workarea/perform_api_bulk_upsert.rb
workarea-api-admin-4.4.6 app/workers/workarea/perform_api_bulk_upsert.rb