Sha256: 42dcb66b5d6a794b7b67ae6c4a045213743aeab007a2867e17acd5d9c38e1d86

Contents?: true

Size: 181 Bytes

Versions: 67

Compression:

Stored size: 181 Bytes

Contents

module Ddr::Jobs
  class UpdateIndex
    extend Job

    @queue = :index

    def self.perform(id)
      obj = ActiveFedora::Base.find(id)
      obj.update_index
    end

  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
ddr-models-2.4.0 lib/ddr/jobs/update_index.rb
ddr-models-2.4.0.rc6 lib/ddr/jobs/update_index.rb
ddr-models-2.4.0.rc5 lib/ddr/jobs/update_index.rb
ddr-models-2.4.0.rc4 lib/ddr/jobs/update_index.rb
ddr-models-2.4.0.rc3 lib/ddr/jobs/update_index.rb
ddr-models-2.4.0.rc2 lib/ddr/jobs/update_index.rb
ddr-models-2.4.0.rc1 lib/ddr/jobs/update_index.rb