Class: RailsHealthChecks::HealthController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- RailsHealthChecks::HealthController
- Defined in:
- app/controllers/rails_health_checks/health_controller.rb
Instance Method Summary collapse
Methods included from Authentication
Instance Method Details
#show ⇒ Object
5 6 7 8 |
# File 'app/controllers/rails_health_checks/health_controller.rb', line 5 def show builder = ResponseBuilder.new(run_checks(RailsHealthChecks.configuration.checks)) render json: builder.to_json, status: builder.http_status end |