Class: Downstream::SubscriberJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/downstream/subscriber_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(event, callable) ⇒ Object



5
6
7
# File 'lib/downstream/subscriber_job.rb', line 5

def perform(event, callable)
  callable.constantize.call(event)
end