Class: Bulkrax::ImporterRun
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- Bulkrax::ImporterRun
- Defined in:
- app/models/bulkrax/importer_run.rb
Instance Method Summary collapse
Instance Method Details
#parents ⇒ Object
9 10 11 |
# File 'app/models/bulkrax/importer_run.rb', line 9 def parents pending_relationships.pluck(:parent_id).uniq end |
#user ⇒ Object
13 14 15 16 17 |
# File 'app/models/bulkrax/importer_run.rb', line 13 def user # An importer might not have a user, the CLI ingest need not assign a user. As such, we # fallback to the configured user. importer.user || Bulkrax.fallback_user_for_importer_exporter_processing end |