Sha256: bfbb92acca30145537b2d92cb487cb9c9800f5a6349547b7ba3494486b60f245

Contents?: true

Size: 340 Bytes

Versions: 9

Compression:

Stored size: 340 Bytes

Contents

require 'routes/defaults'
require 'routes/templates'
require 'routes/requests'
require 'routes/backup'
require 'routes/responses'
require 'routes/pid'
module Mirage
  class Server < Sinatra::Base
    get '/' do
      haml :index
    end

    put '/' do
      synchronize do
        MockResponse.revert
      end

      200
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
mirage-4.0.0.alpha10 server/routes.rb
mirage-4.0.0.alpha9 server/routes.rb
mirage-4.0.0.alpha8 server/routes.rb
mirage-4.0.0.alpha6 server/routes.rb
mirage-4.0.0.alpha5 server/routes.rb
mirage-4.0.0.alpha4 server/routes.rb
mirage-4.0.0.alpha3 server/routes.rb
mirage-4.0.0.alpha2 server/routes.rb
mirage-4.0.0.alpha1 server/routes.rb