lib/backgrounder/workers/process_asset.rb in carrierwave_backgrounder-0.1.3 vs lib/backgrounder/workers/process_asset.rb in carrierwave_backgrounder-0.1.4
- old
+ new
@@ -1,11 +1,9 @@
# encoding: utf-8
module CarrierWave
module Workers
class ProcessAsset < Struct.new(:klass, :id, :column)
- include ::Sidekiq::Worker if defined?(::Sidekiq)
-
def self.perform(*args)
new(*args).perform
end
def perform(*args)