aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailbox
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2019-01-01 07:33:15 -0500
committerGeorge Claghorn <george@basecamp.com>2019-01-01 07:33:15 -0500
commit1c2747ee225b2c20e42344e61a9759a2d3fca527 (patch)
treecf5ce7de59fab0844ad0143b9037b6544fb98ee6 /actionmailbox
parent5afceae886ab85ce7173af3a4c87d67d8b6a12a1 (diff)
downloadrails-1c2747ee225b2c20e42344e61a9759a2d3fca527.tar.gz
rails-1c2747ee225b2c20e42344e61a9759a2d3fca527.tar.bz2
rails-1c2747ee225b2c20e42344e61a9759a2d3fca527.zip
Document ActionMailbox::Base#bounce_with [ci skip]
Diffstat (limited to 'actionmailbox')
-rw-r--r--actionmailbox/lib/action_mailbox/base.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/actionmailbox/lib/action_mailbox/base.rb b/actionmailbox/lib/action_mailbox/base.rb
index c17d242eee..f276498a8b 100644
--- a/actionmailbox/lib/action_mailbox/base.rb
+++ b/actionmailbox/lib/action_mailbox/base.rb
@@ -97,6 +97,7 @@ module ActionMailbox
end
+ # Enqueues the given +message+ for delivery and changes the inbound email's status to +:bounced+.
def bounce_with(message)
inbound_email.bounced!
message.deliver_later