Class: Gitlab::DatabaseImporters::InstanceAdministrators::CreateGroup

Inherits:
BaseService
  • Object
show all
Includes:
Stepable
Defined in:
lib/gitlab/database_importers/instance_administrators/create_group.rb

Constant Summary collapse

NAME =
'GitLab Instance'
PATH_PREFIX =
'gitlab-instance'
VISIBILITY_LEVEL =
Gitlab::VisibilityLevel::INTERNAL

Instance Attribute Summary

Attributes inherited from BaseService

#current_user, #params, #project

Instance Method Summary collapse

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

#initializeCreateGroup

Returns a new instance of CreateGroup.


20
21
22
# File 'lib/gitlab/database_importers/instance_administrators/create_group.rb', line 20

def initialize
  super(nil)
end

Instance Method Details

#executeObject


24
25
26
# File 'lib/gitlab/database_importers/instance_administrators/create_group.rb', line 24

def execute
  execute_steps
end