Method: Pageflow::FileImporter#download_file

Defined in:
lib/pageflow/file_importer.rb

#download_file(_credentials, _options) ⇒ Object

this method should return the data against the file mentioned in options the file data will be similar to what is return by get_files_meta_data method use file or file to download the file data.

Raises:

  • (NotImplementedError)


54
55
56
# File 'lib/pageflow/file_importer.rb', line 54

def download_file(_credentials, _options)
  raise(NotImplementedError, 'FileImporter subclass needs to define download_file method.')
end