module Cogent::Healthcheck
Public Class Methods
config()
click to toggle source
# File lib/healthcheck.rb, line 19 def self.config initialize_config @config end
configure(&block)
click to toggle source
# File lib/healthcheck.rb, line 9 def self.configure(&block) block.call(self.config) end
initialize_config()
click to toggle source
# File lib/healthcheck.rb, line 13 def self.initialize_config return if @config @config = Cogent::Healthcheck::Configuration.new @config.add_check(Cogent::Healthcheck::Checks::Alive) end