On this page
module ActionMailbox::Callbacks
Defines the callbacks related to processing.
Constants
- TERMINATOR
Public Instance Methods
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 25
def after_processing(*methods, &block)
set_callback(:process, :after, *methods, &block)
end
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 29
def around_processing(*methods, &block)
set_callback(:process, :around, *methods, &block)
end
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 21
def before_processing(*methods, &block)
set_callback(:process, :before, *methods, &block)
end
© 2004–2020 David Heinemeier Hansson
Licensed under the MIT License.