Class: AbstractNotifier::AsyncAdapters::ActiveJob::DeliveryJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/abstract_notifier/async_adapters/active_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(notifier_class) ⇒ Object



7
8
9
# File 'lib/abstract_notifier/async_adapters/active_job.rb', line 7

def perform(notifier_class, ...)
  AbstractNotifier::NotificationDelivery.new(notifier_class.constantize, ...).notify_now
end