Method: Github::Repos::Comments#delete

Defined in:
lib/github_api/repos/comments.rb

#delete(*args) ⇒ Object

Deletes a commit comment

Examples

github = Github.new
github.repos.comments.delete 'user-name', 'repo-name', 'comment-id'


109
110
111
112
113
114
# File 'lib/github_api/repos/comments.rb', line 109

def delete(*args)
  arguments(args, :required => [:user, :repo, :comment_id])
  params = arguments.params

  delete_request("/repos/#{user}/#{repo}/comments/#{comment_id}", params)
end