Class: TestHooks::ProjectService

Inherits:
BaseService show all
Includes:
Gitlab::Utils::StrongMemoize, Integrations::ProjectTestData
Defined in:
app/services/test_hooks/project_service.rb

Constant Summary

Constants included from Integrations::ProjectTestData

Integrations::ProjectTestData::NoDataError

Instance Attribute Summary collapse

Attributes inherited from BaseService

#current_user, #hook, #trigger

Method Summary

Methods inherited from BaseService

#error, #execute, #initialize

Methods included from BaseServiceUtility

#deny_visibility_level, #event_service, #log_error, #log_info, #notification_service, #system_hook_service, #todo_service, #visibility_level

Methods included from Gitlab::Allowable

#can?

Constructor Details

This class inherits a constructor from TestHooks::BaseService

Instance Attribute Details

#projectObject



10
11
12
# File 'app/services/test_hooks/project_service.rb', line 10

def project
  @project ||= hook.project
end