class Github::Repos::Commits
def update_comment(user_name, repo_name, comment_id, params={})
'comment-id', "body" => "Nice change"
github.repos.commits.update_comment 'user-name', 'repo-name',
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) _validate_inputs(%w[ body ], params) patch_request("/repos/#{user}/#{repo}/comments/#{comment_id}", params) end