module ServiceRecord::Callbacks

Public Instance Methods

after_perform(*filters, &blk) click to toggle source
# File lib/service_record/callbacks.rb, line 16
def after_perform(*filters, &blk)
  set_callback(:perform, :after, *filters, &blk)
end
around_perform(*filters, &blk) click to toggle source
# File lib/service_record/callbacks.rb, line 20
def around_perform(*filters, &blk)
  set_callback(:perform, :around, *filters, &blk)
end
before_perform(*filters, &blk) click to toggle source
# File lib/service_record/callbacks.rb, line 12
def before_perform(*filters, &blk)
  set_callback(:perform, :before, *filters, &blk)
end