module Github::Gists::Comments

def create_gist_comment(gist_id, params={})


@github.gists.create_gist_comment 'gist-id'
@github = Github.new
= Examples

Create a comment
def create_gist_comment(gist_id, params={})
  _normalize_params_keys(params)
  _filter_params_keys(REQUIRED_GIST_COMMENT_INPUTS, params)
  
  raise ArgumentError, "Required inputs are: :body" unless _validate_inputs(REQUIRED_GIST_COMMENT_INPUTS, params)
  post("/gists/#{gist_id}/comments", params)
end

def delete_gist_comment(comment_id, params={})


@github.gists.delete_gist_comment 'comment-id'
@github = Github.new
= Examples

Delete a comment
def delete_gist_comment(comment_id, params={})
  _normalize_params_keys(params)
  delete("/gists/comments/#{comment_id}", params)
end

def edit_gist_comment(comment_id, params={})


@github.gists.edit_gist_comment 'comment-id'
@github = Github.new
= Examples

Edit a comment
def edit_gist_comment(comment_id, params={})
  _normalize_params_keys(params)
  _filter_params_keys(REQUIRED_GIST_COMMENT_INPUTS, params)
  
  raise ArgumentError, "Required inputs are: :body" unless _validate_inputs(REQUIRED_GIST_COMMENT_INPUTS, params)
  patch("/gists/comments/#{comment_id}", params)
end

def gist_comment(comment_id, params={})


@github.gists.gist_comment 'comment-id'
@github = Github.new
= Examples

Get a single comment
def gist_comment(comment_id, params={})
  _normalize_params_keys(params)
  get("/gists/comments/#{comment_id}", params)
end

def gist_comments(gist_id, params={})


@github.gists.gist_comments 'gist-id'
@github = Github.new
= Examples

List comments on a gist
def gist_comments(gist_id, params={})
  _normalize_params_keys(params)
  get("/gists/#{gist_id}/comments", params)
end