Class: ConfigCat::LazyLoadingMode
- Inherits:
-
PollingMode
- Object
- PollingMode
- ConfigCat::LazyLoadingMode
- Defined in:
- lib/configcat/pollingmode.rb
Instance Attribute Summary collapse
-
#cache_refresh_interval_seconds ⇒ Object
readonly
Returns the value of attribute cache_refresh_interval_seconds.
Instance Method Summary collapse
- #identifier ⇒ Object
-
#initialize(cache_refresh_interval_seconds) ⇒ LazyLoadingMode
constructor
A new instance of LazyLoadingMode.
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_seconds ⇒ Object (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
#identifier ⇒ Object
52 53 54 |
# File 'lib/configcat/pollingmode.rb', line 52 def identifier return "l" end |