Sha256: 84fbd9b0a1f72f28733ef4cb9ce8932a72bc149e824befff74eb5664f437fede

Contents?: true

Size: 210 Bytes

Versions: 1

Compression:

Stored size: 210 Bytes

Contents

#!/usr/bin/env ruby

require 'rubygems'
require 'sinatra'
require 'erb'

disable :logging
STDOUT.sync = true

get '/' do
  erb :index
end

get '/form' do
  erb :form
end

post '/form' do
  erb :form_output
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mechanical-cuke-0.1.0 test/fixtures/server/server.rb