Class: TestHooks::ProjectService

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

Instance Attribute Summary collapse

Attributes inherited from BaseService

#current_user, #hook, #trigger

Method Summary

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Methods inherited from BaseService

#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