Class: SpreeCmCommissioner::ProductEventIdToChildrenSyncerJob

Inherits:
ApplicationUniqueJob show all
Defined in:
app/jobs/spree_cm_commissioner/product_event_id_to_children_syncer_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(product_id) ⇒ Object



3
4
5
6
# File 'app/jobs/spree_cm_commissioner/product_event_id_to_children_syncer_job.rb', line 3

def perform(product_id)
  product = Spree::Product.find(product_id)
  SpreeCmCommissioner::ProductEventIdToChildrenSyncer.call(product: product)
end