Class: SpreeCmCommissioner::EventLineItemsDateSyncerJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ApplicationJob
- SpreeCmCommissioner::EventLineItemsDateSyncerJob
- Defined in:
- app/jobs/spree_cm_commissioner/event_line_items_date_syncer_job.rb
Instance Method Summary collapse
Methods included from ApplicationJobDecorator
handle_deserialization_error, prepended
Instance Method Details
#perform(event_id) ⇒ Object
3 4 5 6 |
# File 'app/jobs/spree_cm_commissioner/event_line_items_date_syncer_job.rb', line 3 def perform(event_id) event = Spree::Taxon.event.find(event_id) SpreeCmCommissioner::EventLineItemsDateSyncer.call(event: event) end |