Sha256: 9694d2b9f806e91533895457b6cc45783317f3988b881ed4e46fe9fe8831f764
Contents?: true
Size: 746 Bytes
Versions: 10
Compression:
Stored size: 746 Bytes
Contents
Sufia.config.after_create_content = lambda { |generic_file, user| Sufia.queue.push(ContentDepositEventJob.new(generic_file.pid, user.user_key)) } Sufia.config.after_revert_content = lambda { |generic_file, user, revision| Sufia.queue.push(ContentRestoredVersionEventJob.new(generic_file.pid, user.user_key, revision)) } Sufia.config.after_update_content = lambda { |generic_file, user| Sufia.queue.push(ContentNewVersionEventJob.new(generic_file.pid, user.user_key)) } Sufia.config.after_update_metadata = lambda { |generic_file, user| Sufia.queue.push(ContentUpdateEventJob.new(generic_file.pid, user.user_key)) } Sufia.config.after_destroy = lambda { |pid, user| Sufia.queue.push(ContentDeleteEventJob.new(pid, user.user_key)) }
Version data entries
10 entries across 10 versions & 1 rubygems