Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Honeypot::TokenBucket
Inherits
Reference
<
Object
Constructors
new
(rate :
Int32
, capacity :
Int32
)
Source
Instance methods
allow_request
Source
capacity
Source
capacity=
(capacity :
Int32
)
Source
rate
Source
rate=
(rate :
Int32
)
Source
tokens
Source
tokens=
(tokens :
Int32
)
Source