Sha256: d1fea18c04898313556aa738c47cc2b4067ff52b7ce57957d21ed6871b718250

Contents?: true

Size: 447 Bytes

Versions: 12

Compression:

Stored size: 447 Bytes

Contents

require_relative 'all_jobs_shared'

class SftpFileTargetJob
  include AllJobsShared
  using Remi::Refinements::Daru


  define_target :some_file, Remi::DataTarget::SftpFile,
    credentials: {
      host: 'example.com',
      username: 'user',
      password: 'secret'
    },
    local_path: "#{Remi::Settings.work_dir}/some_file.csv",
    remote_path: "some_file_#{DateTime.current.strftime('%Y%m%d')}.csv"

  define_transform :main do
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
remi-0.2.27 jobs/sftp_file_target_job.rb
remi-0.2.26 jobs/sftp_file_target_job.rb
remi-0.2.25 jobs/sftp_file_target_job.rb
remi-0.2.24 jobs/sftp_file_target_job.rb
remi-0.2.23 jobs/sftp_file_target_job.rb
remi-0.2.22 jobs/sftp_file_target_job.rb
remi-0.2.21 jobs/sftp_file_target_job.rb
remi-0.2.20 jobs/sftp_file_target_job.rb
remi-0.2.19 jobs/sftp_file_target_job.rb
remi-0.2.18 jobs/sftp_file_target_job.rb
remi-0.2.17 jobs/sftp_file_target_job.rb
remi-0.2.16 jobs/sftp_file_target_job.rb