method

before_deliver

before_deliver(*filters, &blk)
public

Defines a callback that will get called right before the message is sent to the delivery method.