Sha256: c30ea4aff7c14d71f2c6bdab9d65378cf0bbf6bf4b59e8f90cbc74de45c5f266
Contents?: true
Size: 409 Bytes
Versions: 81
Compression:
Stored size: 409 Bytes
Contents
require 'rack' require 'rack/cascade' module Pact module MockService module ControlServer class MockServices < Rack::Cascade def add app mock_services << app super end def shutdown mock_services.each(&:shutdown) end private def mock_services @mock_services ||= [] end end end end end
Version data entries
81 entries across 81 versions & 2 rubygems