Class: ValkyrieCharacterizationJob

Inherits:
Hyrax::ApplicationJob show all
Defined in:
app/jobs/valkyrie_characterization_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(file_metadata_id) ⇒ Object



4
5
6
7
8
# File 'app/jobs/valkyrie_characterization_job.rb', line 4

def perform()
   = Hyrax.custom_queries.(id: )
  Hyrax.config.characterization_service
       .run(metadata: , file: .file, **Hyrax.config.characterization_options)
end