module Prorate

Defined in:

prorate.cr
prorate/version.cr

Constant Summary

CURRENT_SCRIPT_HASH = get_script_hash
VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.get_script_hash #

[View source]
def self.with_throttle(name : String, bucket_capacity : Int32, leak_rate : Float32, block_for : Int32, &) #

A small convenience method:


[View source]