Sha256: c1332017d19c0119733abdb22079138eca40d56a9a67935f711e0d0c1e104007

Contents?: true

Size: 209 Bytes

Versions: 4

Compression:

Stored size: 209 Bytes

Contents

require 'sinatra/base'

class TestApp < Sinatra::Base
  get '/' do
    [200, 'Up and running!']
  end

  get '/fail' do
    [500, 'Omg fail']
  end

  get '/warning' do
    [402, 'Omg need payment']
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
outpost-0.2.4 test/support/test_app.rb
outpost-0.2.3 test/support/test_app.rb
outpost-0.2.2 test/support/test_app.rb
outpost-0.2.1 test/support/test_app.rb