/* (non-Javadoc)
* @see com.github.api.v2.services.GistService#updateGistComment(java.lang.String, java.lang.String)
*/
@Override
public Comment updateGistComment(String commentId, String commentText) {
GitHubApiUrlBuilder builder = createGitHubApiUrlBuilder(GitHubApiUrls.GistApiUrls.UPDATE_GIST_COMMENT_URL);
String apiUrl = builder.withField(ParameterNames.COMMENT_ID, commentId).buildUrl();
Comment comment = new Comment();
comment.setBody(commentText);
JsonObject json = unmarshall(callApiMethod(apiUrl, marshall(comment), ApplicationConstants.CONTENT_TYPE_JSON, HttpMethod.POST, 200));
return unmarshall(new TypeToken<Comment>(){}, json);
}