Sha256: 724b5c44b3975fa45a091ae52f0206f238a84838eda0ce769cfba6912a5b3840

Contents?: true

Size: 269 Bytes

Versions: 58

Compression:

Stored size: 269 Bytes

Contents

require 'sinatra'
require File.join(File.dirname(__FILE__), 'webrick_patch')

class App < Sinatra::Base
  set :environment, :production
  enable :dump_errors

  get '/' do
    'GET'
  end

  post '/' do
    'POST'
  end

  delete '/' do
    'DELETE'
  end
end

run App

Version data entries

58 entries across 56 versions & 4 rubygems

Version Path
able-neo4j-1.0.0 vendor/bundle/jruby/1.9/gems/excon-0.45.4/tests/rackups/request_methods.ru
excon-0.49.0 tests/rackups/request_methods.ru
excon-0.48.0 tests/rackups/request_methods.ru
excon-0.47.0 tests/rackups/request_methods.ru
excon-0.46.0 tests/rackups/request_methods.ru
vagrant-cloudstack-1.2.0 vendor/bundle/gems/excon-0.45.4/tests/rackups/request_methods.ru
excon-0.45.4 tests/rackups/request_methods.ru
vagrant-cloudstack-1.1.0 vendor/bundle/gems/excon-0.45.3/tests/rackups/request_methods.ru
excon-0.45.3 tests/rackups/request_methods.ru
excon-0.45.2 tests/rackups/request_methods.ru
excon-0.45.1 tests/rackups/request_methods.ru
excon-0.45.0 tests/rackups/request_methods.ru
excon-0.44.4 tests/rackups/request_methods.ru
excon-0.44.3 tests/rackups/request_methods.ru
excon-0.44.2 tests/rackups/request_methods.ru
excon-0.44.1 tests/rackups/request_methods.ru
excon-0.44.0 tests/rackups/request_methods.ru
excon-0.43.0 tests/rackups/request_methods.ru
excon-0.42.1 tests/rackups/request_methods.ru
excon-0.42.0 tests/rackups/request_methods.ru