lib/pact_broker/services.rb in pact_broker-1.15.0 vs lib/pact_broker/services.rb in pact_broker-1.16.0
- old
+ new
@@ -1,36 +1,35 @@
-require 'pact_broker/services/pacticipant_service'
-require 'pact_broker/services/tag_service'
-require 'pact_broker/services/group_service'
-require 'pact_broker/services/webhook_service'
-require 'pact_broker/services/version_service'
-
module PactBroker
module Services
def pact_service
# TODO work out how to fix circular dependency
require 'pact_broker/pacts/service'
Pacts::Service
end
def pacticipant_service
- PacticipantService
+ require 'pact_broker/pacticipants/service'
+ Pacticipants::Service
end
def tag_service
- TagService
+ require 'pact_broker/tags/service'
+ Tags::Service
end
def group_service
- GroupService
+ require 'pact_broker/groups/service'
+ Groups::Service
end
def webhook_service
- WebhookService
+ require 'pact_broker/webhooks/service'
+ Webhooks::Service
end
def version_service
- VersionService
+ require 'pact_broker/versions/service'
+ Versions::Service
end
end
end