Method: Remi::Extractor::SftpFile#extract

Defined in:
lib/remi/extractor/sftp_file.rb

#extractObject

Raises:



46
47
48
49
# File 'lib/remi/extractor/sftp_file.rb', line 46

def extract
  raise FileNotFoundError, "File not found: #{@remote_file}" if to_download.size == 0
  download(to_download)
end