Action Mailbox 回调
定义与处理相关的回调。
方法
包含的模块
常量
TERMINATOR | = | ->(邮箱, 链) do 链.call 邮箱.finished_processing? end |
实例公共方法
after_processing(*方法, &块) 链接
来源: 显示 | 在 GitHub 上
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 27 def after_processing(*methods, &block) set_callback(:process, :after, *methods, &block) end
around_processing(*方法, &块) 链接
来源: 显示 | 在 GitHub 上
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 31 def around_processing(*methods, &block) set_callback(:process, :around, *methods, &block) end
before_processing(*方法, &块) 链接
来源: 显示 | 在 GitHub 上
# File actionmailbox/lib/action_mailbox/callbacks.rb, line 23 def before_processing(*methods, &block) set_callback(:process, :before, *methods, &block) end