module Github::Issues::Comments
def edit_comment(user_name, repo_name, comment_id, params={})
"body" => 'a new comment'
@github.issues.edit_comment 'user-name', 'repo-name', 'comment-id',
@github = Github.new
= Examples
:body Required string
= Inputs
Edit a comment
def edit_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) # _merge_mime_type(:issue_comment, params) _filter_params_keys(VALID_ISSUE_COMMENT_PARAM_NAME, params) _validate_inputs(%w[ body ], params) patch("/repos/#{user}/#{repo}/issues/comments/#{comment_id}") end