Class: Counter::Cache::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/counter/cache/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfig

Returns a new instance of Config.



7
8
9
# File 'lib/counter/cache/config.rb', line 7

def initialize
  self.counting_data_store = Counter::Cache::Redis.new
end

Instance Attribute Details

#counting_data_storeObject

TODO

Confer with paul/kig about adapting the counting data store



5
6
7
# File 'lib/counter/cache/config.rb', line 5

def counting_data_store
  @counting_data_store
end

#default_worker_adapterObject

TODO

Confer with paul/kig about adapting the counting data store



5
6
7
# File 'lib/counter/cache/config.rb', line 5

def default_worker_adapter
  @default_worker_adapter
end

#recalculation_delayObject

TODO

Confer with paul/kig about adapting the counting data store



5
6
7
# File 'lib/counter/cache/config.rb', line 5

def recalculation_delay
  @recalculation_delay
end

#redis_poolObject

TODO

Confer with paul/kig about adapting the counting data store



5
6
7
# File 'lib/counter/cache/config.rb', line 5

def redis_pool
  @redis_pool
end