Sha256: 8e6fffd4531b21e1b0ae879fb3e0f9e614e361ae23840f63929671a88b6f324d

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

require 'sinatra'

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

  def app
    Server.new
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lookout-rack-utils-1.6.0 spec/support/routehelpers.rb
lookout-rack-utils-1.5.0 spec/support/routehelpers.rb