Module: Pact

Defined in:
lib/pact/consumer/server.rb,
lib/pact/support/metrics.rb,
lib/pact/mock_service/app.rb,
lib/pact/mock_service/cli.rb,
lib/pact/mock_service/run.rb,
lib/pact/stub_service/cli.rb,
lib/pact/mock_service/spawn.rb,
lib/pact/mock_service/client.rb,
lib/pact/mock_service/errors.rb,
lib/pact/mock_service/logger.rb,
lib/pact/mock_service/session.rb,
lib/pact/mock_service/version.rb,
lib/pact/mock_service/app_manager.rb,
lib/pact/mock_service/cli/pidfile.rb,
lib/pact/support/expand_file_list.rb,
lib/pact/mock_service/server/spawn.rb,
lib/pact/mock_service/server/respawn.rb,
lib/pact/mock_service/cli/custom_thor.rb,
lib/pact/mock_service/request_handlers.rb,
lib/pact/mock_service/request_decorator.rb,
lib/pact/mock_service/control_server/app.rb,
lib/pact/mock_service/control_server/run.rb,
lib/pact/mock_service/response_decorator.rb,
lib/pact/mock_service/control_server/index.rb,
lib/pact/consumer/mock_service/set_location.rb,
lib/pact/mock_service/interaction_decorator.rb,
lib/pact/consumer/mock_service/error_handler.rb,
lib/pact/consumer_contract/request_decorator.rb,
lib/pact/consumer_contract/response_decorator.rb,
lib/pact/mock_service/control_server/delegator.rb,
lib/pact/mock_service/request_handlers/log_get.rb,
lib/pact/mock_service/request_handlers/options.rb,
lib/pact/mock_service/interactions/verification.rb,
lib/pact/mock_service/server/wait_for_server_up.rb,
lib/pact/consumer_contract/interaction_decorator.rb,
lib/pact/mock_service/request_handlers/index_get.rb,
lib/pact/mock_service/request_handlers/pact_post.rb,
lib/pact/consumer/mock_service/rack_request_helper.rb,
lib/pact/mock_service/control_server/mock_services.rb,
lib/pact/consumer_contract/consumer_contract_writer.rb,
lib/pact/mock_service/request_handlers/session_delete.rb,
lib/pact/consumer_contract/consumer_contract_decorator.rb,
lib/pact/mock_service/interactions/actual_interactions.rb,
lib/pact/mock_service/interactions/interactions_filter.rb,
lib/pact/mock_service/interactions/interaction_mismatch.rb,
lib/pact/mock_service/request_handlers/interaction_post.rb,
lib/pact/mock_service/request_handlers/interactions_put.rb,
lib/pact/mock_service/request_handlers/verification_get.rb,
lib/pact/mock_service/interactions/expected_interactions.rb,
lib/pact/mock_service/interactions/verified_interactions.rb,
lib/pact/mock_service/control_server/mock_service_creator.rb,
lib/pact/mock_service/interactions/candidate_interactions.rb,
lib/pact/mock_service/request_handlers/interaction_delete.rb,
lib/pact/mock_service/request_handlers/interaction_replay.rb,
lib/pact/mock_service/interactions/interaction_diff_message.rb,
lib/pact/mock_service/request_handlers/base_request_handler.rb,
lib/pact/consumer/mock_service/cors_origin_header_middleware.rb,
lib/pact/mock_service/request_handlers/missing_interactions_get.rb,
lib/pact/mock_service/control_server/require_pacticipant_headers.rb,
lib/pact/mock_service/request_handlers/base_administration_request_handler.rb

Overview

Create a new MockService on a random port and delegate the incoming request to it

Defined Under Namespace

Modules: Consumer, MockService, StubService, Support Classes: ConsumerContractDecorator, ConsumerContractWriter, ConsumerContractWriterError, InteractionDecorator, RequestDecorator, ResponseDecorator, Server