Class: ConfigCat::LazyLoadingMode

Inherits:
PollingMode show all
Defined in:
lib/configcat/pollingmode.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from PollingMode

auto_poll, lazy_load, manual_poll

Constructor Details

#initialize(cache_refresh_interval_seconds) ⇒ LazyLoadingMode

Returns a new instance of LazyLoadingMode.



48
49
50
# File 'lib/configcat/pollingmode.rb', line 48

def initialize(cache_refresh_interval_seconds)
  @cache_refresh_interval_seconds = cache_refresh_interval_seconds
end

Instance Attribute Details

#cache_refresh_interval_secondsObject (readonly)

Returns the value of attribute cache_refresh_interval_seconds.



46
47
48
# File 'lib/configcat/pollingmode.rb', line 46

def cache_refresh_interval_seconds
  @cache_refresh_interval_seconds
end

Instance Method Details

#identifierObject



52
53
54
# File 'lib/configcat/pollingmode.rb', line 52

def identifier
  return "l"
end