class Prorate::Throttle

Defined in:

prorate.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, bucket_capacity : Int32, leak_rate : Float32, block_for : Int32, redis : Redis::PooledClient = Redis::PooledClient.new) #

[View source]

Instance Method Detail

def <<(discriminator : String) #

[View source]
def discriminators : Array(String) #

[View source]
def throttle! #

[View source]