Cryload::Threshold - cryload 6.0.0

# struct Cryload::Threshold

- Cryload::Threshold
- Struct
- Value
- Object

##
Overview

A single configured gate. `#scope` is nil for a run-wide gate and a URL substring pattern for a per-endpoint one.

##
Defined in:

cryload/ci_thresholds.cr

##
Constructors

- .new(metric : Metric, limit : Float64, scope : String | Nil = nil)

##
Instance Method Summary

- #comparator : Comparator
- #limit : Float64
- #metric : Metric
- #name : String
- #scope : String | Nil

##
Constructor Detail

def self.new(metric : Metric, limit : Float64, scope : String | Nil = nil) #

##
Instance Method Detail

def comparator : Comparator #
def limit : Float64 #
def metric : Metric #
def name : String #
def scope : String | Nil #