lib/pact_broker/services.rb in pact_broker-2.83.0 vs lib/pact_broker/services.rb in pact_broker-2.84.0

- old
+ new

@@ -87,10 +87,14 @@ def contract_service get(:contract_service) end + def branch_service + get(:branch_service) + end + # rubocop: disable Metrics/MethodLength def register_default_services register_service(:index_service) do require "pact_broker/index/service" Index::Service @@ -182,9 +186,14 @@ end register_service(:contract_service) do require "pact_broker/contracts/service" PactBroker::Contracts::Service + end + + register_service(:branch_service) do + require "pact_broker/versions/branch_service" + PactBroker::Versions::BranchService end end # rubocop: enable Metrics/MethodLength end end