Sha256: 84baa5fb736222fc514c60bec991f9d36b846f5e5f4eef8218ac309f4baa413d
Contents?: true
Size: 344 Bytes
Versions: 9
Compression:
Stored size: 344 Bytes
Contents
class MockWorker < Struct.new(:klass, :id, :column) def self.perform(*args) new(*args).perform end def perform(*args) set_args(*args) unless args.empty? end def set_args(klass, id, column) self.klass, self.id, self.column = klass, id, column end end class MockSidekiqWorker < MockWorker include Sidekiq::Worker end
Version data entries
9 entries across 9 versions & 1 rubygems