2018-11-18 11:00:15 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
class ImportExportUploader < AttachmentUploader
|
2018-11-18 11:00:15 +05:30
|
|
|
EXTENSION_WHITELIST = %w[tar.gz gz].freeze
|
2018-11-08 19:23:39 +05:30
|
|
|
|
|
|
|
def extension_whitelist
|
|
|
|
EXTENSION_WHITELIST
|
|
|
|
end
|
|
|
|
|
|
|
|
def move_to_cache
|
|
|
|
false
|
|
|
|
end
|
|
|
|
end
|