2021-01-29 00:20:46 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module BulkImports
|
|
|
|
module Groups
|
|
|
|
module Pipelines
|
|
|
|
class GroupPipeline
|
|
|
|
include Pipeline
|
|
|
|
|
2021-02-22 17:27:13 +05:30
|
|
|
abort_on_failure!
|
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
extractor Common::Extractors::GraphqlExtractor, query: Graphql::GetGroupQuery
|
|
|
|
|
2021-02-22 17:27:13 +05:30
|
|
|
transformer Common::Transformers::ProhibitedAttributesTransformer
|
2021-01-29 00:20:46 +05:30
|
|
|
transformer Groups::Transformers::GroupAttributesTransformer
|
|
|
|
|
|
|
|
loader Groups::Loaders::GroupLoader
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|