Sha256: 04f35dbdefcfc99eaa97051121978dbd546e4070e998cf45ae952c8b88668971
Contents?: true
Size: 332 Bytes
Versions: 29
Compression:
Stored size: 332 Bytes
Contents
# frozen_string_literal: true 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
29 entries across 29 versions & 1 rubygems