protected static void CheckResponse <T>(IRestResponse <T> response) { if (response.StatusCode != System.Net.HttpStatusCode.OK) { throw new QuipException(QuipError.FromJson(response.Content)); } }
protected static void CheckResponse <T>(IRestResponse <T> response) { if (response.StatusCode != System.Net.HttpStatusCode.OK) { throw new QuipException(QuipError.FromJson(response.Content)); } }