Sha256: baeb9ca69e0c707336d8e30b197af8c745163084cf483ba160d02805e1b482cf
Contents?: true
Size: 145 Bytes
Versions: 2
Compression:
Stored size: 145 Bytes
Contents
module Rack module Congestion class IpLimiter < Limiter def key ->{ request ? request.ip : nil } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rack-congestion-0.0.3 | lib/rack/congestion/ip_limiter.rb |
rack-congestion-0.0.2 | lib/rack/congestion/ip_limiter.rb |