module Github::Gists::Comments
def edit_comment(comment_id, params={})
@github.gists.edit_comment 'comment-id'
@github = Github.new
= Examples
Edit a comment
def edit_comment(comment_id, params={}) _normalize_params_keys(params) _validate_presence_of(comment_id) # _merge_mime_type(:gist_comment, params) _filter_params_keys(ALLOWED_GIST_COMMENT_INPUTS, params) unless _validate_inputs(REQUIRED_GIST_COMMENT_INPUTS, params) raise ArgumentError, "Required inputs are: :body" end patch("/gists/comments/#{comment_id}", params) end