class Restforce::Client

def update(sobject, attrs)

Returns true if the sobject was successfully updated, false otherwise.

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

Examples

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