Class: Healthcheck::Response::Error
- Inherits:
-
Base
- Object
- Base
- Healthcheck::Response::Error
show all
- Defined in:
- lib/healthcheck/response/error.rb
Instance Method Summary
collapse
Methods inherited from Base
#execute!, #initialize
Instance Method Details
#status ⇒ Object
16
17
18
|
# File 'lib/healthcheck/response/error.rb', line 16
def status
@configuration.error
end
|
#verbose ⇒ Object
6
7
8
9
10
11
12
13
14
|
# 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
|