Sha256: 74595670307786c2ce923789fea889910fd7c121f613af729c13229696096784

Contents?: true

Size: 178 Bytes

Versions: 13

Compression:

Stored size: 178 Bytes

Contents

class CustomQueueJobWithFilterMethod < CustomQueueJob
  sidekiq_options unique: :until_executed, unique_args: :args_filter

  def self.args_filter(args)
    args.first
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
sidekiq-unique-jobs-5.0.2 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-5.0.1 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-5.0.0 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.18 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.17 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.16 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.15 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.13 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.12 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.11 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.10 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.9 spec/jobs/custom_queue_job_with_filter_method.rb
sidekiq-unique-jobs-4.0.8 spec/jobs/custom_queue_job_with_filter_method.rb