Module: LeakyBucket
- Defined in:
- lib/leaky_bucket.rb,
lib/leaky_bucket/railtie.rb,
lib/leaky_bucket/version.rb,
lib/leaky_bucket/throttler.rb,
lib/leaky_bucket/middleware.rb
Defined Under Namespace
Classes: Middleware, Railtie, Throttler, TooManyRequests
Constant Summary collapse
- VERSION =
"0.2.5"
Class Attribute Summary collapse
-
.cache ⇒ Object
Returns the value of attribute cache.
Class Attribute Details
.cache ⇒ Object
Returns the value of attribute cache.
7 8 9 |
# File 'lib/leaky_bucket.rb', line 7 def cache @cache end |