Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit d3b86bae230d72ce288431bb1cde8041abe4d3da @mortenbagai committed Jul 1, 2009
Showing with 13 additions and 0 deletions.
  1. +11 −0 app.rb
  2. +2 −0 config.ru
11 app.rb
@@ -0,0 +1,11 @@
+require 'sinatra'
+require 'builder'
+
+post '/' do
+ builder do |xml|
+ xml.instruct!
+ xml.Response do
+ xml.Say("Hello from my Heroku app")
+ end
+ end
+end
@@ -0,0 +1,2 @@
+require 'app'
+run Sinatra::Application

0 comments on commit d3b86ba

Please sign in to comment.