Sha256: 60518fa695e57d4a7a62cbf0ead3dbcc5434a454aa4bb89dd752d2d028a5baaa
Contents?: true
Size: 387 Bytes
Versions: 7
Compression:
Stored size: 387 Bytes
Contents
module Ddr module Notifications FIXITY_CHECK = "fixity_check.events.ddr" VIRUS_CHECK = "virus_check.events.ddr" CREATION = "creation.events.ddr" UPDATE = "update.events.ddr" DELETION = "deletion.events.ddr" def self.notify_event(type, args={}) name = "#{type}.events.ddr" ActiveSupport::Notifications.instrument(name, args) end end end
Version data entries
7 entries across 7 versions & 1 rubygems