Class: BulkImports::FileTransfer::GroupConfig

Inherits:
BaseConfig
  • Object
show all
Defined in:
app/models/bulk_imports/file_transfer/group_config.rb

Constant Summary collapse

SKIPPED_RELATIONS =
%w(members).freeze

Constants inherited from BaseConfig

BaseConfig::SELF_RELATION, BaseConfig::UPLOADS_RELATION

Instance Method Summary collapse

Methods inherited from BaseConfig

#export_path, #file_relation?, #initialize, #portable_relations, #portable_relations_tree, #portable_tree, #relation_excluded_keys, #self_relation?, #top_relation_tree, #tree_relation?, #tree_relation_definition_for

Methods included from Gitlab::Utils::StrongMemoize

#clear_memoization, #strong_memoize, #strong_memoized?

Constructor Details

This class inherits a constructor from BulkImports::FileTransfer::BaseConfig

Instance Method Details

#import_export_yamlObject


8
9
10
# File 'app/models/bulk_imports/file_transfer/group_config.rb', line 8

def import_export_yaml
  ::Gitlab::ImportExport.group_config_file
end

#skipped_relationsObject


12
13
14
# File 'app/models/bulk_imports/file_transfer/group_config.rb', line 12

def skipped_relations
  SKIPPED_RELATIONS
end