Class: Faktory::Middleware::Batch::Worker

Inherits:
Object
  • Object
show all
Defined in:
lib/faktory/middleware/batch.rb

Instance Method Summary collapse

Instance Method Details

#call(jobinst, payload) ⇒ Object



18
19
20
21
# File 'lib/faktory/middleware/batch.rb', line 18

def call(jobinst, payload)
  jobinst.bid = payload.dig("custom", "bid")
  yield
end