Sha256: ebca6ee88a9442095d032968dfe5446503426a1c5b4740169f9e658ed5cf10c1
Contents?: true
Size: 424 Bytes
Versions: 9
Compression:
Stored size: 424 Bytes
Contents
class CharacterizeJob < ActiveFedoraIdBasedJob queue_as :characterize # @param [String] id # @param [String] filename a local path for the file to characterize. By using this, we don't have to pull a copy out of fedora. def perform(id, filename) @id = id Hydra::Works::CharacterizationService.run(file_set, filename) file_set.save CreateDerivativesJob.perform_later(file_set.id, filename) end end
Version data entries
9 entries across 9 versions & 1 rubygems