Class: ActiveJob::QueueAdapters::FunktorAdapter::JobWrapper
- Inherits:
-
Object
- Object
- ActiveJob::QueueAdapters::FunktorAdapter::JobWrapper
- Includes:
- Funktor::Worker
- Defined in:
- lib/active_job/queue_adapters/funktor_adapter.rb
Overview
:nodoc:
Instance Method Summary collapse
Methods included from Funktor::Worker
Instance Method Details
#perform(job_data) ⇒ Object
38 39 40 41 42 43 44 45 46 |
# File 'lib/active_job/queue_adapters/funktor_adapter.rb', line 38 def perform(job_data) Funktor.logger.debug "job_data = #{job_data.class} #{job_data}" if job_data.is_a?(Array) Funktor.logger.debug "it's an array" job_data = job_data.first Funktor.logger.debug "job_data = #{job_data.class} #{job_data}" end Base.execute job_data end |