Class: Gitlab::BackgroundMigration::MigrateApproverToApprovalRules

Inherits:
Object
  • Object
show all
Defined in:
lib/gitlab/background_migration/migrate_approver_to_approval_rules.rb

Overview

rubocop: disable Style/Documentation

Instance Method Summary collapse

Instance Method Details

#perform(target_type, target_id, sync_code_owner_rule: true) ⇒ Object

Parameters:

  • target_type (String)

    class of target, either 'MergeRequest' or 'Project'

  • target_id (Integer)

    id of target


9
10
# File 'lib/gitlab/background_migration/migrate_approver_to_approval_rules.rb', line 9

def perform(target_type, target_id, sync_code_owner_rule: true)
end