instance method
around_deliver
Ruby on Rails 8.1.2
Since v7.1.6Signature
around_deliver(*filters, &blk)
Defines a callback that will get called around the message’s deliver method.
Parameters
-
filtersrest -
blkblock
Source
# File actionmailer/lib/action_mailer/callbacks.rb, line 28
def around_deliver(*filters, &blk)
set_callback(:deliver, :around, *filters, &blk)
end
Defined in actionmailer/lib/action_mailer/callbacks.rb line 28
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::Callbacks::ClassMethods