Sha256: 6f69420e34111963ba25eafa64b986032036c93bc9ceaff8e8af4f2d6acf2939

Contents?: true

Size: 296 Bytes

Versions: 2

Compression:

Stored size: 296 Bytes

Contents

# frozen_string_literal: true

module GeoblacklightAdmin
  class StoreImageJob < ApplicationJob
    queue_as :default

    def perform(solr_document_id)
      document = Document.find_by_friendlier_id(solr_document_id)
      GeoblacklightAdmin::ImageService.new(document).store
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
geoblacklight_admin-0.4.1 app/jobs/geoblacklight_admin/store_image_job.rb
geoblacklight_admin-0.4.0 app/jobs/geoblacklight_admin/store_image_job.rb