Class: Interactor::Async::ActiveJobDispatcher

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/interactor/async/active_job_dispatcher.rb

Instance Method Summary collapse

Instance Method Details

#perform(name, *args) ⇒ Object



5
6
7
# File 'lib/interactor/async/active_job_dispatcher.rb', line 5

def perform(name, *args)
  name.constantize.call(*args)
end