Module: SfConnect::Downloader

Extended by:
ActiveSupport::Concern
Defined in:
lib/sf_connect/downloader.rb

Overview

download salesforce objects

Instance Method Summary collapse

Instance Method Details

#download_from_salesforceObject



12
13
14
# File 'lib/sf_connect/downloader.rb', line 12

def download_from_salesforce
  self.class.download_salesforce_record(salesforce_object_id)
end

#fetchObject



8
9
10
# File 'lib/sf_connect/downloader.rb', line 8

def fetch
  self.class.fetch(salesforce_object_id)
end