module BunnyPublisher::Callbacks::ClassMethods

Public Instance Methods

after_publish(*filters, &blk) click to toggle source
# File lib/bunny_publisher/callbacks.rb, line 25
def after_publish(*filters, &blk)
  set_callback(:publish, :after, *filters, &blk)
end
around_publish(*filters, &blk) click to toggle source
# File lib/bunny_publisher/callbacks.rb, line 21
def around_publish(*filters, &blk)
  set_callback(:publish, :around, *filters, &blk)
end
before_publish(*filters, &blk) click to toggle source
# File lib/bunny_publisher/callbacks.rb, line 17
def before_publish(*filters, &blk)
  set_callback(:publish, :before, *filters, &blk)
end