Class: Remi::SfBulkHelper::SfBulkUpsert

Inherits:
SfBulkOperation show all
Defined in:
lib/remi/sf_bulk_helper.rb

Overview

Public: Class used to execute SF Bulk Upsert operations (see SfBulkOperation class for more details).

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from SfBulkOperation

#as_lookup, #failed_records?, #info, #initialize, #raw_result, #result, #sf_bulk

Constructor Details

This class inherits a constructor from Remi::SfBulkHelper::SfBulkOperation

Class Method Details

.upsert(*args, **kargs) ⇒ Object



227
228
229
# File 'lib/remi/sf_bulk_helper.rb', line 227

def self.upsert(*args,**kargs)
  SfBulkUpsert.new(*args,**kargs).tap { |sf| sf.send(:execute) }
end

Instance Method Details

#operationObject



231
232
233
# File 'lib/remi/sf_bulk_helper.rb', line 231

def operation
  :upsert
end