Class: Remi::Encoder::Salesforce
- Inherits:
-
Remi::Encoder
- Object
- Remi::Encoder
- Remi::Encoder::Salesforce
- Defined in:
- lib/remi/data_subjects/salesforce.rb
Overview
Salesforce encoder
Instance Attribute Summary
Attributes inherited from Remi::Encoder
#context, #field_symbolizer, #fields, #logger
Instance Method Summary collapse
-
#encode(dataframe) ⇒ Object
Converts the dataframe to an array of hashes, which can be used by the salesforce bulk api.
Methods inherited from Remi::Encoder
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 bulk api.
136 137 138 |
# File 'lib/remi/data_subjects/salesforce.rb', line 136 def encode(dataframe) dataframe.to_a[0] end |