class Updown::Check
- Updown::Check
- Reference
- Object
Defined in:
updown/check.crConstructors
Class Method Summary
- .all
- .find_by_url(url)
- .get(token, metrics : Bool = false)
- .get_downtimes(token, page = 1)
- .get_metrics(token, from : Time | Nil = nil, to : Time | Nil = nil)
Instance Method Summary
- #destroy
-
#get(metrics : Bool = true)
re-fetch an existing check (usually just to pull in metrics)
- #save
Constructor Detail
def self.new(url, period : Int32 = 60, apdex_t : Float64 = 0.5, enabled : Bool = true, published : Bool = false)
#