Sha256: afa0eddc0052974ef375b02cf050d61a964721a2519505d685c32c84945a36a6
Contents?: true
Size: 721 Bytes
Versions: 12
Compression:
Stored size: 721 Bytes
Contents
require 'pact_broker/ui/controllers/relationships' require 'pact_broker/ui/controllers/groups' require 'pact_broker/doc/controllers/app' module PactBroker module UI class App def initialize @app = ::Rack::Builder.new { map "/ui/relationships" do run PactBroker::UI::Controllers::Relationships end map "/groups" do run PactBroker::UI::Controllers::Groups end map "/doc" do run PactBroker::Doc::Controllers::App end map "/" do run PactBroker::UI::Controllers::Relationships end } end def call env @app.call(env) end end end end
Version data entries
12 entries across 12 versions & 1 rubygems