aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorYoshiyuki Kinjo <yskkin@gmail.com>2018-09-09 20:16:20 +0900
committerYoshiyuki Kinjo <yskkin@gmail.com>2018-09-09 20:17:36 +0900
commit576209b45bf6d20e91562da77e454bc58bda3658 (patch)
tree4e9875069319fd7254a43082b4c44ffabbe56895 /guides
parent383b8bc8e215d5fa2b018d6f0b9c363ea95251cf (diff)
downloadrails-576209b45bf6d20e91562da77e454bc58bda3658.tar.gz
rails-576209b45bf6d20e91562da77e454bc58bda3658.tar.bz2
rails-576209b45bf6d20e91562da77e454bc58bda3658.zip
Add `perform_deliveries` to a payload of `deliver.action_mailer` notification.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_support_instrumentation.md26
1 files changed, 14 insertions, 12 deletions
diff --git a/guides/source/active_support_instrumentation.md b/guides/source/active_support_instrumentation.md
index 8581817d71..69c6a6e414 100644
--- a/guides/source/active_support_instrumentation.md
+++ b/guides/source/active_support_instrumentation.md
@@ -319,17 +319,18 @@ Action Mailer
### deliver.action_mailer
-| Key | Value |
-| ------------- | -------------------------------------------- |
-| `:mailer` | Name of the mailer class |
-| `:message_id` | ID of the message, generated by the Mail gem |
-| `:subject` | Subject of the mail |
-| `:to` | To address(es) of the mail |
-| `:from` | From address of the mail |
-| `:bcc` | BCC addresses of the mail |
-| `:cc` | CC addresses of the mail |
-| `:date` | Date of the mail |
-| `:mail` | The encoded form of the mail |
+| Key | Value |
+| --------------------- | ---------------------------------------------------- |
+| `:mailer` | Name of the mailer class |
+| `:message_id` | ID of the message, generated by the Mail gem |
+| `:subject` | Subject of the mail |
+| `:to` | To address(es) of the mail |
+| `:from` | From address of the mail |
+| `:bcc` | BCC addresses of the mail |
+| `:cc` | CC addresses of the mail |
+| `:date` | Date of the mail |
+| `:mail` | The encoded form of the mail |
+| `:perform_deliveries` | Whether delivery of this message is performed or not |
```ruby
{
@@ -339,7 +340,8 @@ Action Mailer
to: ["users@rails.com", "dhh@rails.com"],
from: ["me@rails.com"],
date: Sat, 10 Mar 2012 14:18:09 +0100,
- mail: "..." # omitted for brevity
+ mail: "...", # omitted for brevity
+ perform_deliveries: true
}
```