module Github::Repos::Commits
def update_comment(user_name, repo_name, comment_id, params={})
"body" => "Nice change"
@github.repos.update_comment 'user-name', 'repo-name', 'comment-id',
@github = Github.new
= Examples
* :body - Required string.
= Inputs
Update a commit comment
def update_comment(user_name, repo_name, comment_id, params={}) _update_user_repo_params(user_name, repo_name) _validate_user_repo_params(user, repo) unless user? && repo? _validate_presence_of comment_id _normalize_params_keys(params) raise ArgumentError, "expected following inputs to the method: 'body'" unless _validate_inputs(["body"], params) patch("/repos/#{user}/#{repo}/comments/#{comment_id}", params) end