class Healthcheck::Response::Success
Public Instance Methods
status()
click to toggle source
# File lib/healthcheck/response/success.rb, line 16 def status @configuration.success end
verbose()
click to toggle source
# File lib/healthcheck/response/success.rb, line 6 def verbose { status: @configuration.success, json: { code: @configuration.success, status: @configuration.checks.each_with_object({}) { |check, obj| obj[check.name] = 'OK' } } } end