class Healthchecker::Check
Attributes
options[R]
Public Class Methods
new(options = {})
click to toggle source
# File lib/healthchecker/check.rb, line 5 def initialize(options = {}) @options = options end
Public Instance Methods
check!()
click to toggle source
# File lib/healthchecker/check.rb, line 9 def check!; raise NotImplementedError; end
perform_check()
click to toggle source
# File lib/healthchecker/check.rb, line 11 def perform_check check! rescue RuntimeError => e [e.class, e.message, options] end