Class: Readymade::BackgroundJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Readymade::BackgroundJob
- Defined in:
- lib/readymade/background_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(**args) ⇒ Object
9 10 11 |
# File 'lib/readymade/background_job.rb', line 9 def perform(**args) args.delete(:class_name).to_s.constantize.send(:call, **args) end |