Sha256: 69c1507cb83d104bd1528a13e7d65f11f270a5a599f31ca1b2c77cc59566f91f
Contents?: true
Size: 348 Bytes
Versions: 1
Compression:
Stored size: 348 Bytes
Contents
require 'ronin/web/server/base' require 'classes/sub_app' class TestApp < Ronin::Web::Server::Base get '/tests/get' do 'block tested' end any '/tests/any' do 'any tested' end mount '/tests/subapp', SubApp public_dir File.join(File.dirname(__FILE__),'public1') public_dir File.join(File.dirname(__FILE__),'public2') end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ronin-web-server-0.1.0.beta1 | spec/classes/test_app.rb |