Class: Cosmo::ActiveJobAdapter::Executor
- Inherits:
-
Object
- Object
- Cosmo::ActiveJobAdapter::Executor
- Includes:
- Job
- Defined in:
- lib/cosmo/active_job/executor.rb
Overview
Cosmo::Job that deserializes and executes an ActiveJob payload
Instance Attribute Summary
Attributes included from Job
Instance Method Summary collapse
Methods included from Job
Instance Method Details
#perform(job_data) ⇒ Object
11 12 13 |
# File 'lib/cosmo/active_job/executor.rb', line 11 def perform(job_data) ::ActiveJob::Base.execute(Utils::Hash.stringify_keys(job_data)) end |