Created
September 4, 2011 06:13
-
-
Save ecin/1192368 to your computer and use it in GitHub Desktop.
Using Rack apps in Goliath.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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