Class: Custom

Inherits:
Goliath::API
  • Object
show all
Defined in:
lib/agile_proxy/server.rb

Overview

Example demonstrating how to use a custom Goliath runner

Instance Method Summary collapse

Instance Method Details

#response(env) ⇒ Object



20
21
22
# File 'lib/agile_proxy/server.rb', line 20

def response(env)
  [200, {}, "hello!"]
end