class Restforce::Client
def create!(sobject, attrs)
Returns the String Id of the newly created sobject. Raises an error if
See .create
def create!(sobject, attrs) response = api_post "sobjects/#{sobject}", attrs response.body['id'] end
def create!(sobject, attrs) response = api_post "sobjects/#{sobject}", attrs response.body['id'] end