def delete!(id)
      ids = id.is_a?(Array) ? id : [id]
      call_soap_api(:delete, {:ids => ids})
    end
def delete!(id)
      ids = id.is_a?(Array) ? id : [id]
      call_soap_api(:delete, {:ids => ids})
    end
Public: Delete a record.

 sobject - String name of the sobject.
 id      - The Salesforce ID of the record.

 Examples

   # Delete the Account with Id '0016000000MRatd'
   client.delete!('Account', '0016000000MRatd')

 Returns Hash if the sobject was successfully deleted.
 Raises an exception if an error is returned from Salesforce.