Method: SalesforceAdapter::Connection::Errors::SOAPError#message_for_record

Defined in:
lib/dm-salesforce-adapter/connection/errors.rb

#message_for_record(record) ⇒ Object



35
36
37
# File 'lib/dm-salesforce-adapter/connection/errors.rb', line 35

def message_for_record(record)
  record.errors.map {|e| "#{e.statusCode}: #{e.message}"}.join(", ")
end