07009a1f48
- Refactor uploads manager - Refactor importer, update import spec - Add more object storage specs
17 lines
258 B
Ruby
17 lines
258 B
Ruby
# frozen_string_literal: true
|
|
|
|
class ImportExportUploader < AttachmentUploader
|
|
EXTENSION_WHITELIST = %w[tar.gz gz].freeze
|
|
|
|
def extension_whitelist
|
|
EXTENSION_WHITELIST
|
|
end
|
|
|
|
def move_to_store
|
|
true
|
|
end
|
|
|
|
def move_to_cache
|
|
false
|
|
end
|
|
end
|