Top Level Namespace

Defined in:

Constant Summary

ENDPOINT = ARGV[0]
INTERVAL = (ARGV[1]? || 60).to_i.seconds
SUCCESS_CODES = parse_success_codes(ENV.fetch("HTTP_SUCCESS_CODES", "200-299"))

Method Summary

Method Detail

def notify_ready #

[View source]
def parse_success_code(code_or_range) #

[View source]
def parse_success_codes(codes) #

[View source]
def sd_notify(message : String) #

[View source]
def up? #

[View source]
def usage #

[View source]
def warn(message) #

[View source]
def watchdog #

[View source]