diff --git a/lib/bulkrax.rb b/lib/bulkrax.rb index 3ca09999..b5a89837 100644 --- a/lib/bulkrax.rb +++ b/lib/bulkrax.rb @@ -19,7 +19,6 @@ class Configuration :export_path, :field_mappings, :file_model_class, - :fill_in_blank_source_identifiers, :generated_metadata_mapping, :import_path, :multi_value_element_join_on, @@ -35,12 +34,21 @@ class Configuration :reserved_properties, :server_name + ## + # @return [#call] with arity 2. The first parameter is a {Bulkrax::ApplicationParser} and the + # second parameter is an Integer for the index of the record encountered in the import. + attr_accessor :fill_in_blank_source_identifiers + + ## + # Configure which persistence adapter you'd prefer to favor. + # + # @param adapter [Class] attr_writer :persistence_adapter ## # Configure the persistence adapter used for persisting imported data. # - # @return [Bulkrax::PersistenceLayer::AbstractAdapter] + # @return [Class] # @see Bulkrax::PersistenceLayer def persistence_adapter @persistence_adapter || derived_persistence_adapter