Sha256: fd1e7b4f864795b043bf52eeeb4470d92481426b96a3c6630f266613703853b4

Contents?: true

Size: 355 Bytes

Versions: 25

Compression:

Stored size: 355 Bytes

Contents

# frozen_string_literal: true

class IiifManifestCachePrewarmJob < Hyrax::ApplicationJob
  ##
  # @param work [ActiveFedora::Base]
  def perform(work)
    presenter = Hyrax::IiifManifestPresenter.new(work)
    manifest_builder.manifest_for(presenter: presenter)
  end

  private

  def manifest_builder
    Hyrax::CachingIiifManifestBuilder.new
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
hyrax-5.0.1 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-5.0.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-5.0.0.rc3 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-5.0.0.rc2 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-5.0.0.rc1 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.6.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-4.0.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-4.0.0.rc3 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-4.0.0.rc2 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-4.0.0.rc1 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.5.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-4.0.0.beta2 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.4.2 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-4.0.0.beta1 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.4.1 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.4.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.3.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.2.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.1.0 app/jobs/iiif_manifest_cache_prewarm_job.rb
hyrax-3.0.2 app/jobs/iiif_manifest_cache_prewarm_job.rb