Sha256: 5c4e38919f212f22e427a559343a5ffaf7db36aa57bc90e1fc911ce2b503a434

Contents?: true

Size: 301 Bytes

Versions: 78

Compression:

Stored size: 301 Bytes

Contents

module Spotlight
  ###
  # Calls the #set_default_thumbnail method
  # on the object passed in and calls save
  ###
  class DefaultThumbnailJob < ActiveJob::Base
    queue_as :default

    def perform(thumbnailable)
      thumbnailable.set_default_thumbnail
      thumbnailable.save
    end
  end
end

Version data entries

78 entries across 78 versions & 1 rubygems

Version Path
blacklight-spotlight-2.4.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.4.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.3.3 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.3.2 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.3.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.3.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.2.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.2.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.1.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.2 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0.rc6 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0.rc5 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0.rc4 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0.rc3 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0.rc2 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-2.0.0.rc1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-1.5.1 app/jobs/spotlight/default_thumbnail_job.rb
blacklight-spotlight-1.4.1 app/jobs/spotlight/default_thumbnail_job.rb