Sha256: c2b98ce942d8c9ca5e158dfda649bd2b028c9be0ffa4e9ddf398082dfe388257

Contents?: true

Size: 313 Bytes

Versions: 4

Compression:

Stored size: 313 Bytes

Contents

require_relative 'all_jobs_shared'

class CopySourceJob < Remi::Job
  source :source_data do
    fields(
      {
        :some_field => {},
        :some_date => { type: :date, format: '%Y-%m-%d' }
      }
    )
  end

  target :target_data

  transform :main do
    target_data.df = source_data.df.dup
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
remi-0.3.3 jobs/copy_source_job.rb
remi-0.3.2 jobs/copy_source_job.rb
remi-0.3.1 jobs/copy_source_job.rb
remi-0.3.0 jobs/copy_source_job.rb