Method: Pageflow::FileImporter#files_meta_data
- Defined in:
- lib/pageflow/file_importer.rb
#files_meta_data(_credentials, _params) ⇒ Object
this method returns the meta data of each selected file It should be of the format {
collection: 'collection_name',
files: [
{
name: file_name.png,
id: file_id,
rights: 'file rights',
url_or_download_options: '',
type: 'image/png'
}
]
}
47 48 49 |
# File 'lib/pageflow/file_importer.rb', line 47 def (_credentials, _params) raise(NotImplementedError, 'FileImporter subclass needs to define files_meta_data method.') end |