class Healthcheck::Response::Error

Public Instance Methods

status() click to toggle source
# File lib/healthcheck/response/error.rb, line 16
def status
  @configuration.error
end
verbose() click to toggle source
# File lib/healthcheck/response/error.rb, line 6
def verbose
  {
    status: Healthcheck.configuration.error,
    json: {
      code: Healthcheck.configuration.error,
      errors: @checker.errors.as_json
    }
  }
end