Sha256: f833ccbd459a42af47e1548d4a44b6ebac3f7acd08e6672306ada53b70c5be37

Contents?: true

Size: 154 Bytes

Versions: 13

Compression:

Stored size: 154 Bytes

Contents

#!/usr/bin/env ruby
$:<< '../lib' << 'lib'

require 'goliath'

class HelloWorld < Goliath::API
  def response(env)
    [200, {}, "hello world"]
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
goliath-1.0.7 examples/hello_world.rb
goliath-1.0.6 examples/hello_world.rb
goliath-1.0.5 examples/hello_world.rb
goliath-1.0.4 examples/hello_world.rb
goliath-1.0.3 examples/hello_world.rb
goliath-1.0.2 examples/hello_world.rb
goliath-1.0.1 examples/hello_world.rb
goliath-1.0.0 examples/hello_world.rb
goliath-1.0.0.beta.1 examples/hello_world.rb
goliath-0.9.4 examples/hello_world.rb
goliath-0.9.2 examples/hello_world.rb
goliath-0.9.1 examples/hello_world.rb
goliath-0.9.0 examples/hello_world.rb