Module: SfConnect::Uploader
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/sf_connect/uploader.rb
Overview
upload salesforce object attribute
Instance Method Summary collapse
Instance Method Details
#upload_payload_for_salesforce ⇒ Object
12 13 14 |
# File 'lib/sf_connect/uploader.rb', line 12 def upload_payload_for_salesforce self.class.salesforce_fields.payload_for_upload(self) end |
#upload_to_salesforce ⇒ Object
8 9 10 |
# File 'lib/sf_connect/uploader.rb', line 8 def upload_to_salesforce self.class.update_salesforce_attributes(salesforce_object_id, upload_payload_for_salesforce) end |