Sha256: 35b8f38010f095d807cd5c476de551844565c1f8120b3950d504b845000c2f57
Contents?: true
Size: 442 Bytes
Versions: 11
Compression:
Stored size: 442 Bytes
Contents
# frozen_string_literal: true # :nocov: class MyUniqueJobWithFilterMethod include Sidekiq::Worker sidekiq_options backtrace: true, lock: :until_executed, queue: :customqueue, retry: true, unique_args: :filtered_args def perform(*) # NO-OP end def self.filtered_args(args) options = args.extract_options! [args.first, options['type']] end end
Version data entries
11 entries across 11 versions & 1 rubygems