Sha256: 6d81775d5267a048a1c5b909dd572db21574dd2eeaa85ab4f9cda65ac580421f

Contents?: true

Size: 319 Bytes

Versions: 51

Compression:

Stored size: 319 Bytes

Contents

# frozen_string_literal: true

module Spotlight
  ###
  # Calls the #set_default_thumbnail method
  # on the object passed in and calls save
  ###
  class DefaultThumbnailJob < Spotlight::ApplicationJob
    def perform(thumbnailable)
      thumbnailable.set_default_thumbnail
      thumbnailable.save
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
blacklight-spotlight-4.6.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.6.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.5.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.4.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.6 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.5 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.4 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.3 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.2 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.3.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.2.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.1.2 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.1.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.1.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.0.3 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.0.2 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.0.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-4.0.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-3.6.0.beta10 app/jobs/spotlight/default_thumbnail_job.rb