Skip to content

Instantly share code, notes, and snippets.

@ecin
Created September 4, 2011 06:13
Show Gist options
  • Save ecin/1192368 to your computer and use it in GitHub Desktop.
Save ecin/1192368 to your computer and use it in GitHub Desktop.
Using Rack apps in Goliath.
require 'goliath'
require 'rack/lobster'
class Lobster < Goliath::API
map '/' do
run Rack::Lobster.new
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment