module ActionMailbox::Callbacks
Action Mailbox Callbacks
Defines the callbacks related to processing.
Inherits From
-
module
ActiveSupport::
Callbacks
Constants
Public instance methods
Source code GitHub
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 27
def after_processing(*methods, &block)
set_callback(:process, :after, *methods, &block)
end
Source code GitHub
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 31
def around_processing(*methods, &block)
set_callback(:process, :around, *methods, &block)
end
Source code GitHub
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 23
def before_processing(*methods, &block)
set_callback(:process, :before, *methods, &block)
end