class RaceBlock::Configuration

For managing RaceBlock current configuration settings

Attributes

expiration_delay[RW]
expire[RW]
redis[RW]
sleep_delay[RW]

Public Class Methods

new() click to toggle source
# File lib/race_block.rb, line 16
def initialize
  reset
end

Public Instance Methods

reset() click to toggle source
# File lib/race_block.rb, line 20
def reset
  @expire = 60
  @expiration_delay = 3
  @sleep_delay = 0.5
end