Sha256: 667f18b249ea869f38198c1f601f334d6a5fe7dd2e8a4678561d95024f01dcbd

Contents?: true

Size: 358 Bytes

Versions: 3

Compression:

Stored size: 358 Bytes

Contents

require 'ronin/web/server/base'

require 'web/server/classes/sub_app'

class TestApp < Ronin::Web::Server::Base

  get '/tests/get' do
    'block tested'
  end

  any '/tests/any' do
    'any tested'
  end

  map '/tests/subapp/', SubApp

  public_dir File.join(File.dirname(__FILE__),'public1')
  public_dir File.join(File.dirname(__FILE__),'public2')

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ronin-web-0.3.0.rc1 spec/web/server/classes/test_app.rb
ronin-web-0.3.0.pre2 spec/web/server/classes/test_app.rb
ronin-web-0.3.0.pre1 spec/web/server/classes/test_app.rb