def delete(entity)
      url = "#{DEFAULT_HOST}/#{entity.path}"
      uri = URI(url)
      response = http_response(:delete, uri)
      raise UnprocessableRequest(response.to_s) unless response.code.to_i == 200
      JSON.parse(response.body)
    end
def delete(entity)
      url = "#{DEFAULT_HOST}/#{entity.path}"
      uri = URI(url)
      response = http_response(:delete, uri)
      raise UnprocessableRequest(response.to_s) unless response.code.to_i == 200
      JSON.parse(response.body)
    end
It removes an `entity` from your Harvest account.

 @param entity [Harvesting::Models::Base] A record to be removed from your Harvest account
 @return [Hash]
 @raise [UnprocessableRequest] When HTTP response is not 200 OK