Sha256: 81255e3daeaedd052b231164c82db1d9e366eaa0323704d901f33c9aac649581

Contents?: true

Size: 251 Bytes

Versions: 13

Compression:

Stored size: 251 Bytes

Contents

require 'curate/jobs/content_deposit_event_job'

Sufia.config do |c|
  c.temp_file_base = '/tmp'
  c.after_create_content = lambda {|generic_file, user|
    Sufia.queue.push(Curate::ContentDepositEventJob.new(generic_file.pid, user.user_key))
  }
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
curate-0.6.6 config/initializers/sufia_initializer.rb
curate-0.6.5 config/initializers/sufia_initializer.rb
curate-0.6.4 config/initializers/sufia_initializer.rb
curate-0.6.3 config/initializers/sufia_initializer.rb
curate-0.6.1 config/initializers/sufia_initializer.rb
curate-0.6.0 config/initializers/sufia_initializer.rb
curate-0.5.6 config/initializers/sufia_initializer.rb
curate-0.5.5 config/initializers/sufia_initializer.rb
curate-0.5.4 config/initializers/sufia_initializer.rb
curate-0.5.2 config/initializers/sufia_initializer.rb
curate-0.5.1 config/initializers/sufia_initializer.rb
curate-0.5.0 config/initializers/sufia_initializer.rb
curate-0.4.2 config/initializers/sufia_initializer.rb