Module: RateLimit

Extended by:
Base, Configurable
Defined in:
lib/rate_limit.rb,
lib/rate_limit/base.rb,
lib/rate_limit/cache.rb,
lib/rate_limit/limit.rb,
lib/rate_limit/config.rb,
lib/rate_limit/result.rb,
lib/rate_limit/window.rb,
lib/rate_limit/worker.rb,
lib/rate_limit/version.rb,
lib/rate_limit/throttler.rb,
lib/rate_limit/configurable.rb,
lib/rate_limit/config/defaults.rb,
lib/rate_limit/config/file_loader.rb,
lib/rate_limit/errors/limit_exceeded_error.rb

Defined Under Namespace

Modules: Base, Cache, Configurable, Errors, Throttler Classes: Config, Limit, Result, Window, Worker

Constant Summary collapse

VERSION =
'0.3.0'

Method Summary

Methods included from Configurable

config, configure

Methods included from Base

increment_counters, limit_exceeded?, reset_counters, throttle