Module: BulkImports::NdjsonPipeline

Constant Summary

Constants included from Pipeline

Pipeline::CACHE_KEY_EXPIRATION, Pipeline::EMPTY_EXPORT_STATUS_TIMEOUT, Pipeline::ExpiredError, Pipeline::FailedError, Pipeline::NDJSON_EXPORT_TIMEOUT, Pipeline::NotAllowedError

Constants included from Pipeline::Runner

Pipeline::Runner::MarkedAsFailedError

Instance Method Summary collapse

Methods included from Pipeline::IndexCacheStrategy

#already_processed?, #save_processed_entry

Methods included from Pipeline

#current_user, #import_export_config, #initialize, #portable, #tracker

Methods included from Pipeline::Runner

#on_finish, #run

Instance Method Details

#persist_relation(attributes) ⇒ Object



237
238
239
# File 'lib/bulk_imports/ndjson_pipeline.rb', line 237

def persist_relation(attributes)
  relation_factory.create(**attributes)
end