Class: Decidim::Admin::ImportForm

Inherits:
Form
  • Object
show all
Includes:
HasUploadValidations, ProcessesFileLocally
Defined in:
app/forms/decidim/admin/import_form.rb

Constant Summary collapse

ACCEPTED_MIME_TYPES =
Decidim::Admin::Import::Readers::ACCEPTED_MIME_TYPES

Instance Method Summary collapse

Instance Method Details

#importerObject



19
20
21
# File 'app/forms/decidim/admin/import_form.rb', line 19

def importer
  @importer ||= importer_for(file, mime_type)
end