Module: ActionMailer::DeliveryLog
- Defined in:
- runtime/action_mailer/capture.rb,
runtime/action_mailer/capture.rbs
Overview
The test gate's capture: append one JSON line per delivery to
tmp/mail-capture.jsonl without the body, which can carry reset tokens.
Constant Summary collapse
- PATH =
Spin-root relative; the harness reads the same file as
../tmp/.... "tmp/mail-capture.jsonl"
Class Method Summary collapse
-
.deliver(message) ⇒ Message
append one JSON line and return the message.
Class Method Details
.deliver(message) ⇒ Message
append one JSON line and return the message.
22 |
# File 'runtime/action_mailer/capture.rb', line 22
def self.deliver: (Message message) -> Message
|