Sha256: 0d68233238b81a3147cbd34500a7717dea1508993d19b9d61e4970f2ddb3ea42
Contents?: true
Size: 279 Bytes
Versions: 2
Compression:
Stored size: 279 Bytes
Contents
require 'active_job' module ActionMailer class DeliveryJob < ActiveJob::Base #:nodoc: queue_as :mailers def perform(mailer, mail_method, delivery_method, *args) #:nodoc# mailer.constantize.public_send(mail_method, *args).send(delivery_method) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
actionmailer-4.2.0.beta3 | lib/action_mailer/delivery_job.rb |
actionmailer-4.2.0.beta2 | lib/action_mailer/delivery_job.rb |