Class: Evey::ReactorJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- Evey::ReactorJob
- Defined in:
- lib/evey/reactor_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(event, reactor_class) ⇒ Object
2 3 4 5 6 |
# File 'lib/evey/reactor_job.rb', line 2 def perform(event, reactor_class) reactor = reactor_class.constantize reactor.call(event) end |