Sha256: 8b8f0f8ec7916cc3a271da4c2e1701c590cfaf931ed86acbcc27d5cc9098d2dc

Contents?: true

Size: 255 Bytes

Versions: 17

Compression:

Stored size: 255 Bytes

Contents

require 'sinatra'

module RouteHelpers
  class Server < Sinatra::Base
    get '/test_route' do
      status 200
      params.to_json
    end

    put '/test_route' do
      status 200
      params.to_json
    end
  end

  def app
    Server.new
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
lookout-rack-utils-5.0.0.49 spec/support/routehelpers.rb
lookout-rack-utils-4.0.0.44 spec/support/routehelpers.rb
lookout-rack-utils-3.8.0.39 spec/support/routehelpers.rb
lookout-rack-utils-3.7.0.37 spec/support/routehelpers.rb
lookout-rack-utils-3.7.0.34 spec/support/routehelpers.rb
lookout-rack-utils-3.3.0.24 spec/support/routehelpers.rb
lookout-rack-utils-3.3.0.22 spec/support/routehelpers.rb
lookout-rack-utils-3.2.0.19 spec/support/routehelpers.rb
lookout-rack-utils-3.2.0.16 spec/support/routehelpers.rb
lookout-rack-utils-3.1.0.12 spec/support/routehelpers.rb
lookout-rack-utils-3.0.1.11 spec/support/routehelpers.rb
lookout-rack-utils-3.0.1 spec/support/routehelpers.rb
lookout-rack-utils-3.0.0 spec/support/routehelpers.rb
lookout-rack-utils-2.0.0 spec/support/routehelpers.rb
lookout-rack-utils-1.7.3 spec/support/routehelpers.rb
lookout-rack-utils-1.7.2 spec/support/routehelpers.rb
lookout-rack-utils-1.7.1 spec/support/routehelpers.rb