lib/sidekiq_fast_debounce/utils.rb
# Get the options for debounced Sidekiq job
# @param klass [Class] Sidekiq worker class
# @param job [Hash] hash that represents a Sidekiq job
# @param deb_opts [Hash] debounce specific options
# @return [String] namespace to use for this job's debounce key
Get the options for debounced Sidekiq job
Get the options for debounced Sidekiq job
def debounce_namespace(klass, _job, deb_opts = {})
        return deb_opts[:debounce_namespace] if deb_opts.key?(:debounce_namespace)
        klass.to_s
      end
def debounce_namespace ( klass , _job , deb_opts = { } ) return deb_opts [ :debounce_namespace ] if deb_opts . key? ( :debounce_namespace ) klass . to_s end
Get the options for debounced Sidekiq job
Get the options for debounced Sidekiq job
namespace to use for this job's debounce key
namespace to use for this job ' s debounce key
String
klass
Sidekiq worker class
Sidekiq worker class
_job
deb_opts
debounce specific options
debounce specific options
job
hash that represents a Sidekiq job
hash that represents a Sidekiq job