Class: Labkit::RateLimit::Configuration
- Inherits:
-
Object
- Object
- Labkit::RateLimit::Configuration
- Defined in:
- lib/labkit/rate_limit/configuration.rb
Instance Attribute Summary collapse
-
#logger ⇒ Object
rule_document is the Document every Limiter reads its contract defaults and file overrides from, unless one is passed to Limiter.new.
-
#redis ⇒ Object
rule_document is the Document every Limiter reads its contract defaults and file overrides from, unless one is passed to Limiter.new.
-
#rule_document ⇒ Object
rule_document is the Document every Limiter reads its contract defaults and file overrides from, unless one is passed to Limiter.new.
Instance Attribute Details
#logger ⇒ Object
rule_document is the Document every Limiter reads its contract defaults and file overrides from, unless one is passed to Limiter.new. It stays nil until the host loads one, so a host without config files never loads Config and its vendored protobuf schema.
10 11 12 |
# File 'lib/labkit/rate_limit/configuration.rb', line 10 def logger @logger end |
#redis ⇒ Object
rule_document is the Document every Limiter reads its contract defaults and file overrides from, unless one is passed to Limiter.new. It stays nil until the host loads one, so a host without config files never loads Config and its vendored protobuf schema.
10 11 12 |
# File 'lib/labkit/rate_limit/configuration.rb', line 10 def redis @redis end |
#rule_document ⇒ Object
rule_document is the Document every Limiter reads its contract defaults and file overrides from, unless one is passed to Limiter.new. It stays nil until the host loads one, so a host without config files never loads Config and its vendored protobuf schema.
10 11 12 |
# File 'lib/labkit/rate_limit/configuration.rb', line 10 def rule_document @rule_document end |