class Restforce::Client
def update!(sobject, attrs)
Returns true if the sobject was successfully updated, raises an error
See .update
def update!(sobject, attrs) id = attrs.has_key?(:Id) ? attrs.delete(:Id) : attrs.delete('Id') api_patch "sobjects/#{sobject}/#{id}", attrs true end