Class: Gitlab::ImportExport::Project::Sample::RelationFactory
- Inherits:
-
RelationFactory
- Object
- Base::RelationFactory
- RelationFactory
- Gitlab::ImportExport::Project::Sample::RelationFactory
- Defined in:
- lib/gitlab/import_export/project/sample/relation_factory.rb
Constant Summary collapse
- DATE_MODELS =
%i[issues milestones].freeze
Constants inherited from RelationFactory
RelationFactory::BUILD_MODELS, RelationFactory::EXISTING_OBJECT_RELATIONS, RelationFactory::GROUP_REFERENCES, RelationFactory::OVERRIDES, RelationFactory::PROJECT_REFERENCES
Constants inherited from Base::RelationFactory
Base::RelationFactory::EXISTING_OBJECT_RELATIONS, Base::RelationFactory::IMPORTED_OBJECT_MAX_RETRIES, Base::RelationFactory::OVERRIDES, Base::RelationFactory::TOKEN_RESET_MODELS, Base::RelationFactory::UNIQUE_RELATIONS, Base::RelationFactory::USER_REFERENCES
Instance Attribute Summary
Attributes inherited from Base::RelationFactory
Instance Method Summary collapse
-
#initialize(date_calculator:, **args) ⇒ RelationFactory
constructor
A new instance of RelationFactory.
Methods inherited from RelationFactory
Methods inherited from Base::RelationFactory
create, #create, existing_object_relations, overrides, relation_class
Constructor Details
#initialize(date_calculator:, **args) ⇒ RelationFactory
Returns a new instance of RelationFactory.
10 11 12 13 14 |
# File 'lib/gitlab/import_export/project/sample/relation_factory.rb', line 10 def initialize(date_calculator:, **args) super(**args) @date_calculator = date_calculator end |