module PaperPlane

defines PaperPlane::Base, the dad of all paper_planes.

Constants

CALLBACK_TERMINATOR

Add callbacks support to Active Delivery (requires ActiveSupport::Callbacks)

# Run method before delivering notification
# NOTE: when `false` is returned the executation is halted
before_fly :do_something

# You can specify a notification method (to run callback only for that method)
before_fly :do_mail_something, on: :mail

# or for push notifications
before_fly :do_mail_something, on: :push

# after_ and around_ callbacks are also supported
after_fly :cleanup

around_fly :set_context
VERSION