class Github::Repos::Comments

def create(*args)


"position" => 4
"path" => "file1.txt",
"line" => 1,
"commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e",
"body" => "Nice change",
github.repos.comments.create 'user-name', 'repo-name', 'sha-key',
github = Github.new
= Examples

* :position - Required number - Line index in the diff to comment on.
* :path - Required string - Relative path of the file to comment on.
* :line - Required number - Line number in the file to comment on.
* :comment_id - Required string - Sha of the commit to comment on.
* :body - Required string.
= Inputs

Creates a commit comment
def create(*args)
  arguments(args, :required => [:user, :repo, :sha]) do
    sift VALID_COMMENT_OPTIONS
    assert_required REQUIRED_COMMENT_OPTIONS
  end
  params = arguments.params
  post_request("/repos/#{user}/#{repo}/commits/#{sha}/comments", params)
end