Class: Sidekiq::Pauzer::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/sidekiq/pauzer/config.rb

Constant Summary collapse

REFRESH_RATE =

Default refresh rate

5.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



12
13
14
# File 'lib/sidekiq/pauzer/config.rb', line 12

def initialize
  @refresh_rate = REFRESH_RATE
end

Instance Attribute Details

#refresh_rateFloat

Returns:

  • (Float)


10
11
12
# File 'lib/sidekiq/pauzer/config.rb', line 10

def refresh_rate
  @refresh_rate
end