Class: Xeno::HealthController

Inherits:
ApiController
  • Object
show all
Defined in:
app/controllers/xeno/health_controller.rb

Overview

The one unauthenticated endpoint: liveness only, leaks nothing.

Constant Summary

Constants inherited from ApiController

ApiController::DEV_PRINCIPAL

Instance Method Summary collapse

Instance Method Details

#showObject



6
7
8
# File 'app/controllers/xeno/health_controller.rb', line 6

def show
  render json: { status: "ok" }
end