Module: Trailblazer::Operation::Worker::ClassMethods
- Defined in:
- lib/trailblazer/operation/worker.rb
Instance Method Summary collapse
Instance Method Details
#run(params) ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/trailblazer/operation/worker.rb', line 15 def run(params) if background? return perform_async(serializable(params)) end new.run(params) end |