Class: Downstream::Stateless::SubscriberJob

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

Instance Method Summary collapse

Instance Method Details

#perform(event, callable) ⇒ Object



4
5
6
# File 'lib/downstream/pubsub_adapters/stateless/subscriber_job.rb', line 4

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