lib/importer/csv_importer.rb
# Build a factory to create the objects in fedora.
Build a factory to create the objects in fedora.
Build a factory to create the objects in fedora .
def create_fedora_objects(attributes)
        model = attributes.delete(:type) || @model.to_s
        if model.empty?
          $stderr.puts 'ERROR: No model was specified'
          exit(1)
        end
        Factory.for(model).new(attributes, @files_directory).run
      end
def create_fedora_objects ( attributes ) model = attributes . delete ( :type ) || @model . to_s if model . empty? $stderr . puts 'ERROR: No model was specified' exit ( 1 ) end Factory . for ( model ) . new ( attributes , @files_directory ) . run end
Build a factory to create the objects in fedora.
Build a factory to create the objects in fedora .
# rubocop:disable Rails/Exit # rubocop:enable Rails/Exit
attributes
<not_specific>