123456789_123456789_123456789_123456789_123456789_

Class: ActiveJob::QueueAdapters::SneakersAdapter::JobWrapper

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:
self, Sneakers::Worker
Inherits: Object
Defined in: activejob/lib/active_job/queue_adapters/sneakers_adapter.rb

Instance Method Summary

Instance Method Details

#work(msg)

[ GitHub ]

  
# File 'activejob/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