class RateLimiter::Token

Overview

Represents the availability of capacity to perform operations in the current time bucket.

Defined in:

rate_limiter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(created_at : Time = Time.utc) #

[View source]

Instance Method Detail

def created_at : Time #

[View source]
def to_s(io) #

[View source]