app/parsers/bulkrax/application_parser.rb in bulkrax-2.0.2 vs app/parsers/bulkrax/application_parser.rb in bulkrax-2.1.0
- old
+ new
@@ -112,10 +112,14 @@
def create_works
raise StandardError, 'must be defined' if importer?
end
+ def create_file_sets
+ raise StandardError, 'must be defined' if importer?
+ end
+
# Optional, define if using browse everything for file upload
def retrieve_cloud_files(files); end
def write_import_file(file)
path = File.join(path_for_import, file.original_filename)
@@ -229,9 +233,13 @@
def total
0
end
def collections_total
+ 0
+ end
+
+ def file_sets_total
0
end
def write
write_files