jobs/sample_job.rb in remi-0.2.35 vs jobs/sample_job.rb in remi-0.2.36
- old
+ new
@@ -25,11 +25,11 @@
define_source :sample_file, Remi::DataSource::CsvFile,
extractor: Remi::Extractor::SftpFile.new(
credentials: params[:sftp],
- remote_file: /^SampleFile_(\d+)\.txt/,
- remote_folder: '/',
+ remote_path: '/',
+ pattern: /^SampleFile_(\d+)\.txt/,
most_recent_only: true
),
csv_options: {
headers: true,
col_sep: ",",