Class: ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper
- Inherits:
-
Object
- Object
- ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper
- Includes:
- Sneakers::Worker
- Defined in:
- lib/active_job/queue_adapters/sneakers_adapter.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#work(msg) ⇒ Object
40 41 42 43 44 |
# File 'lib/active_job/queue_adapters/sneakers_adapter.rb', line 40 def work(msg) job_data = ActiveSupport::JSON.decode(msg) Base.execute job_data ack! end |