Class: Pageflow::FileImport

Inherits:
ApplicationRecord show all
Defined in:
app/models/pageflow/file_import.rb

Overview

File import reference, belongs to entry and file

Instance Method Summary collapse

Instance Method Details

#file_importerObject



7
8
9
# File 'app/models/pageflow/file_import.rb', line 7

def file_importer
  Pageflow.config.file_importers.find_by_name!(read_attribute(:file_importer))
end