Class: Integrations::Test::ProjectService

Inherits:
BaseService
  • Object
show all
Includes:
Gitlab::Utils::StrongMemoize, ProjectTestData
Defined in:
app/services/integrations/test/project_service.rb

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #event, #integration

Instance Method Summary collapse

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 Integrations::Test::BaseService

Instance Method Details

#projectObject


9
10
11
12
13
# File 'app/services/integrations/test/project_service.rb', line 9

def project
  strong_memoize(:project) do
    integration.project
  end
end