module Healthcheck

Constants

CONTROLLER_ACTION
VERSION

Public Instance Methods

check() click to toggle source
# File lib/healthcheck.rb, line 32
def check
  Checker.new.tap(&:check)
end
configuration() click to toggle source
# File lib/healthcheck.rb, line 24
def configuration
  @configuration ||= Configuration.new
end
configure() { |configuration| ... } click to toggle source
# File lib/healthcheck.rb, line 20
def configure
  yield(configuration)
end
custom!(controller) click to toggle source
# File lib/healthcheck.rb, line 36
def custom!(controller)
  configuration.custom.call(controller, check)
end
custom?() click to toggle source
# File lib/healthcheck.rb, line 40
def custom?
  configuration.custom
end
routes(router) click to toggle source
# File lib/healthcheck.rb, line 28
def routes(router)
  Router.mount(router)
end