Class: Remi::Encoder::SalesforceSoap

Inherits:
Remi::Encoder show all
Defined in:
lib/remi/data_subjects/salesforce_soap.rb

Overview

Salesforce SOAP encoder

Instance Attribute Summary

Attributes inherited from Remi::Encoder

#context, #field_symbolizer, #fields, #logger

Instance Method Summary collapse

Methods inherited from Remi::Encoder

#initialize

Constructor Details

This class inherits a constructor from Remi::Encoder

Instance Method Details

#encode(dataframe) ⇒ Object

Converts the dataframe to an array of hashes, which can be used by the salesforce soap api.

Parameters:

Returns:

  • (Object)

    The encoded data to be loaded into the target



24
25
26
# File 'lib/remi/data_subjects/salesforce_soap.rb', line 24

def encode(dataframe)
  dataframe.to_a[0]
end