Skip to content

Instantly share code, notes, and snippets.

@benschwarz
Created February 17, 2009 01:15
Show Gist options
  • Save benschwarz/65511 to your computer and use it in GitHub Desktop.
Save benschwarz/65511 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'sinatra'
set :environment, :production
set :raise_errors, true
run Sinatra::Application
get '/geoCheck' do
<<-EOL
<?xml version="1.0" encoding="UTF-8"?>
<geocheck>
<status>valid</status>
</geocheck>
EOL
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment