Returns a new instance of Batch.
15 16 17 18 19 20
# File 'lib/salesforce/bulk/batch.rb', line 15 def initialize(job) self.job = job self.filename = temporary_csv_file self.csv = CSVLib.open(self.filename, 'w+') self.csv << csv_header end