Class: Gitlab::DatabaseImporters::SelfMonitoring::Project::CreateService

Inherits:
BaseService
  • Object
show all
Includes:
Helpers, Stepable
Defined in:
lib/gitlab/database_importers/self_monitoring/project/create_service.rb

Constant Summary collapse

VISIBILITY_LEVEL =
Gitlab::VisibilityLevel::INTERNAL
PROJECT_NAME =
'GitLab self monitoring'

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

Methods included from Helpers

#application_settings, #project_created?, #self_monitoring_project, #self_monitoring_project_id

Methods included from Stepable

#execute_steps, #steps

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 Allowable

#can?

Constructor Details

#initializeCreateService

Returns a new instance of CreateService.


22
23
24
# File 'lib/gitlab/database_importers/self_monitoring/project/create_service.rb', line 22

def initialize
  super(nil)
end

Instance Method Details

#executeObject


26
27
28
# File 'lib/gitlab/database_importers/self_monitoring/project/create_service.rb', line 26

def execute
  execute_steps
end