module Restforce::Concerns::API

def update(*args)

Returns false if there was an error.
Returns true if the sobject was successfully updated.

client.update('Account', Id: '0016000000MRatd', Name: 'Whizbang Corp')
# Update the Account with Id '0016000000MRatd'

Examples

attrs - Hash of attributes to set on the record.
sobject - String name of the sobject.

Public: Update a record.
def update(*args)
  update!(*args)
rescue *exceptions
  false
end