Class: Braintrust::Server::Handlers::Health

Inherits:
Object
  • Object
show all
Defined in:
lib/braintrust/server/handlers/health.rb

Overview

GET / — simple health check endpoint.

Instance Method Summary collapse

Instance Method Details

#call(_env) ⇒ Object



10
11
12
# File 'lib/braintrust/server/handlers/health.rb', line 10

def call(_env)
  [200, {"content-type" => "application/json"}, [JSON.dump({"status" => "ok"})]]
end