Module: PactBroker::Services

Instance Method Summary collapse

Instance Method Details

#badge_serviceObject



50
51
52
53
# File 'lib/pact_broker/services.rb', line 50

def badge_service
  require 'pact_broker/badges/service'
  Badges::Service
end

#certificate_serviceObject



60
61
62
63
# File 'lib/pact_broker/services.rb', line 60

def certificate_service
  require 'pact_broker/certificates/service'
  Certificates::Service
end

#group_serviceObject



30
31
32
33
# File 'lib/pact_broker/services.rb', line 30

def group_service
  require 'pact_broker/groups/service'
  Groups::Service
end

#index_serviceObject



4
5
6
7
# File 'lib/pact_broker/services.rb', line 4

def index_service
  require 'pact_broker/index/service'
  Index::Service
end

#integration_serviceObject



65
66
67
68
# File 'lib/pact_broker/services.rb', line 65

def integration_service
  require 'pact_broker/integrations/service'
  Integrations::Service
end

#label_serviceObject



25
26
27
28
# File 'lib/pact_broker/services.rb', line 25

def label_service
  require 'pact_broker/labels/service'
  Labels::Service
end

#matrix_serviceObject



55
56
57
58
# File 'lib/pact_broker/services.rb', line 55

def matrix_service
  require 'pact_broker/matrix/service'
  Matrix::Service
end

#metrics_serviceObject



75
76
77
78
# File 'lib/pact_broker/services.rb', line 75

def metrics_service
  require 'pact_broker/metrics/service'
  Metrics::Service
end

#pact_serviceObject



9
10
11
12
13
# File 'lib/pact_broker/services.rb', line 9

def pact_service
  # TODO work out how to fix circular dependency
  require 'pact_broker/pacts/service'
  Pacts::Service
end

#pacticipant_serviceObject



15
16
17
18
# File 'lib/pact_broker/services.rb', line 15

def pacticipant_service
  require 'pact_broker/pacticipants/service'
  Pacticipants::Service
end

#tag_serviceObject



20
21
22
23
# File 'lib/pact_broker/services.rb', line 20

def tag_service
  require 'pact_broker/tags/service'
  Tags::Service
end

#verification_serviceObject



45
46
47
48
# File 'lib/pact_broker/services.rb', line 45

def verification_service
  require 'pact_broker/verifications/service'
  Verifications::Service
end

#version_serviceObject



40
41
42
43
# File 'lib/pact_broker/services.rb', line 40

def version_service
  require 'pact_broker/versions/service'
  Versions::Service
end

#webhook_serviceObject



35
36
37
38
# File 'lib/pact_broker/services.rb', line 35

def webhook_service
  require 'pact_broker/webhooks/service'
  Webhooks::Service
end

#webhook_trigger_serviceObject



70
71
72
73
# File 'lib/pact_broker/services.rb', line 70

def webhook_trigger_service
  require 'pact_broker/webhooks/trigger_service'
  Webhooks::TriggerService
end