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.6.2 lib/ddr/jobs/update_index.rb
ddr-models-2.6.1 lib/ddr/jobs/update_index.rb
ddr-models-2.6.0 lib/ddr/jobs/update_index.rb
ddr-models-2.6.0.rc4 lib/ddr/jobs/update_index.rb
ddr-models-2.6.0.rc3 lib/ddr/jobs/update_index.rb
ddr-models-2.6.0.rc2 lib/ddr/jobs/update_index.rb
ddr-models-2.6.0.rc1 lib/ddr/jobs/update_index.rb
ddr-models-2.5.3 lib/ddr/jobs/update_index.rb
ddr-models-2.5.2 lib/ddr/jobs/update_index.rb
ddr-models-2.5.1 lib/ddr/jobs/update_index.rb
ddr-models-2.5.0 lib/ddr/jobs/update_index.rb
ddr-models-2.5.0.rc1 lib/ddr/jobs/update_index.rb
ddr-models-2.4.16 lib/ddr/jobs/update_index.rb
ddr-models-2.4.15 lib/ddr/jobs/update_index.rb
ddr-models-2.4.14 lib/ddr/jobs/update_index.rb
ddr-models-2.4.13 lib/ddr/jobs/update_index.rb
ddr-models-2.4.12 lib/ddr/jobs/update_index.rb
ddr-models-2.4.11 lib/ddr/jobs/update_index.rb
ddr-models-3.0.8 lib/ddr/jobs/update_index.rb
ddr-models-3.0.7 lib/ddr/jobs/update_index.rb