# struct RateLimiter::Bucket

- RateLimiter::Bucket
- Struct
- Value
- Object

##
Defined in:

rate_limiter.cr

##
Constructors

- .new(tokens : Float64, last_update : Time)

##
Instance Method Summary

- #last_update : Time
- #last_update=(last_update : Time)
- #tokens : Float64
- #tokens=(tokens : Float64)

##
Constructor Detail

def self.new(tokens : Float64, last_update : Time) #

##
Instance Method Detail

def last_update : Time #
def last_update=(last_update : Time) #
def tokens : Float64 #
def tokens=(tokens : Float64) #