Class: SpreeCmCommissioner::InventoryItemSyncerJob
- Inherits:
-
ApplicationUniqueJob
- Object
- ActiveJob::Base
- ApplicationUniqueJob
- ApplicationUniqueJob
- SpreeCmCommissioner::InventoryItemSyncerJob
- Defined in:
- app/jobs/spree_cm_commissioner/inventory_item_syncer_job.rb
Instance Method Summary collapse
-
#perform(options = {}) ⇒ Object
:line_item_ids, :inventory_id_and_quantities.
Instance Method Details
#perform(options = {}) ⇒ Object
:line_item_ids, :inventory_id_and_quantities
:line_item_ids is included for unique job key generation to prevent duplicate jobs, though it’s not used in the perform method implementation.
7 8 9 10 11 |
# File 'app/jobs/spree_cm_commissioner/inventory_item_syncer_job.rb', line 7 def perform( = {}) InventoryItemSyncer.call( inventory_id_and_quantities: [:inventory_id_and_quantities] ) end |