Class: Pushing::DeliveryJob

Inherits:
ActiveJob::Base
  • Object
show all
Defined in:
lib/pushing/delivery_job.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#perform(notifier, mail_method, delivery_method, *args) ⇒ Object

:nodoc:



11
12
13
# File 'lib/pushing/delivery_job.rb', line 11

def perform(notifier, mail_method, delivery_method, *args) #:nodoc:
  notifier.constantize.public_send(mail_method, *args).send(delivery_method)
end