Class: Supermail::Rails::Mailer

Inherits:
ActionMailer::Base
  • Object
show all
Defined in:
lib/supermail.rb

Overview

This is a bizzare work around for a commit that broke github.com/rails/rails/commit/c594ba4ffdb016c7b2a22055f41dfb2c4409594d further proving the bewildering maze of indirection in Rails ActionMailer.

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.message_deliveryObject



18
19
20
# File 'lib/supermail.rb', line 18

def self.message_delivery(**)
  ActionMailer::MessageDelivery.new self, :mail, **
end

Instance Method Details

#mailObject



14
15
16
# File 'lib/supermail.rb', line 14

def mail(...)
  super(...)
end