Class: Influxer::Config

Inherits:
Anyway::Config
  • Object
show all
Defined in:
lib/influxer/config.rb

Overview

Influxer configuration

Instance Method Summary collapse

Instance Method Details

#cache=(value) ⇒ Object



44
45
46
47
# File 'lib/influxer/config.rb', line 44

def cache=(value)
  super
  self.cache_enabled = cache_enabled_value
end

#loadObject



37
38
39
40
41
42
# File 'lib/influxer/config.rb', line 37

def load(*)
  super
  if cache_enabled.nil?
    self.cache_enabled = cache_enabled_value
  end
end