Module: Remi::DataTarget

Includes:
DataSubject
Included in:
Salesforce
Defined in:
lib/remi/data_target.rb,
lib/remi/data_target/csv_file.rb,
lib/remi/data_target/data_frame.rb,
lib/remi/data_target/salesforce.rb

Defined Under Namespace

Classes: DataFrame, Salesforce

Instance Method Summary collapse

Methods included from DataSubject

#df, #df=, #field_symbolizer, #fields

Instance Method Details

#loadObject

Gets called automatically at the end of a job, but could also get manually called at the end of a transform so make sure it doesn’t do it twice.



8
9
10
11
12
13
# File 'lib/remi/data_target.rb', line 8

def load
  @logger.info "Loading target"
  return true if @loaded
  @loaded = true
  raise "Load function undefined for #{self.class.name}"
end