Skip to content
This repository
executable file 10 lines (8 sloc) 0.154 kb
1 2 3 4 5 6 7 8 9 10
#!/usr/bin/env ruby
$:<< '../lib' << 'lib'

require 'goliath'

class HelloWorld < Goliath::API
  def response(env)
    [200, {}, "hello world"]
  end
end
Something went wrong with that request. Please try again.