lib/routes/main.rb in gaptool-server-0.4.11 vs lib/routes/main.rb in gaptool-server-0.4.12
- old
+ new
@@ -3,9 +3,13 @@
get '/' do
"You must be lost. Read the instructions."
end
+ get '/ping' do
+ "PONG"
+ end
+
post '/redishash' do
data = JSON.parse request.body.read
redishash(data).to_json
end