Class: Supermail::Rails::Mailer
- Inherits:
-
ActionMailer::Base
- Object
- ActionMailer::Base
- Supermail::Rails::Mailer
- 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_delivery ⇒ Object
18 19 20 |
# File 'lib/supermail.rb', line 18 def self.(**) ActionMailer::MessageDelivery.new self, :mail, ** end |
Instance Method Details
#mail ⇒ Object
14 15 16 |
# File 'lib/supermail.rb', line 14 def mail(...) super(...) end |