Class: SpreeCmCommissioner::InventoryItems::BulkAdjustQuantitiesJob

Inherits:
ApplicationUniqueJob show all
Includes:
SpreeCmCommissioner::IdempotentJob
Defined in:
app/jobs/spree_cm_commissioner/inventory_items/bulk_adjust_quantities_job.rb

Instance Method Summary collapse

Methods included from SpreeCmCommissioner::IdempotentJob

#default_idempotency_key, #with_idempotency

Instance Method Details

#perform(options = {}) ⇒ Object



6
7
8
9
10
# File 'app/jobs/spree_cm_commissioner/inventory_items/bulk_adjust_quantities_job.rb', line 6

def perform(options = {})
  with_idempotency(idempotency_key_for(options)) do
    bulk_adjust_quantities!(options)
  end
end