Class: EdiPriceFlowWorker
- Inherits:
-
Object
- Object
- EdiPriceFlowWorker
- Includes:
- Sidekiq::Job, Workers::EdiFlowDispatch
- Defined in:
- app/workers/edi_price_flow_worker.rb
Overview
Sidekiq worker: edi price flow.
Dispatcher only — it fans the flow out to one EdiOrchestratorFlowWorker per
orchestrator class and lets a Sidekiq Pro batch report the outcome. See
Workers::EdiFlowDispatch for why the unit is a vendor rather than a partner,
and EdiInventoryFlowWorker for what +lock_ttl+ is guarding against.
Instance Method Summary collapse
-
#perform(options = {}) ⇒ String, Array
Batch id when fanned out, results when targeted.
Methods included from Workers::EdiFlowDispatch
Instance Method Details
#perform(options = {}) ⇒ String, Array
Returns batch id when fanned out, results when targeted.
21 22 23 |
# File 'app/workers/edi_price_flow_worker.rb', line 21 def perform( = {}) dispatch_flow(:execute_price_flow, ) end |