Class: RhoDevelopment::Alive

Inherits:
WEBrick::HTTPServlet::AbstractServlet
  • Object
show all
Defined in:
lib/build/development/web_server.rb

Instance Method Summary collapse

Instance Method Details

#do_GET(request, response) ⇒ Object



132
133
134
135
# File 'lib/build/development/web_server.rb', line 132

def do_GET request, response
  response.status = 200
  response.body = 'Server is alive'
end