module Github::Gists::Comments
def create_comment(gist_id, params={})
@github.gists.create_comment 'gist-id'
@github = Github.new
= Examples
Create a comment
def create_comment(gist_id, params={}) _normalize_params_keys(params) # _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 post("/gists/#{gist_id}/comments", params) end