class Patchstream::PatchStreamCallbacks

Public Instance Methods

around_create(record, &block) click to toggle source
# File lib/patchstream.rb, line 13
def around_create(record, &block)
        record.class.patch_streams.emit_create(record, &block)
end
around_destroy(record, &block) click to toggle source
# File lib/patchstream.rb, line 21
def around_destroy(record, &block)
        record.class.patch_streams.emit_destroy(record, &block)
end
around_update(record, &block) click to toggle source
# File lib/patchstream.rb, line 17
def around_update(record, &block)
        record.class.patch_streams.emit_update(record, &block)
end