lib/github_api/pull_requests/comments.rb
# Create a pull request comment
#
# = Inputs
# * <tt>:body</tt> - Required string
# * <tt>:commit_id</tt> - Required string - sha of the commit to comment on.
# * <tt>:path</tt> - Required string - Relative path of the file to comment on.
# * <tt>:position</tt> - Required number - Line index in the diff to comment on
#
# = Examples
#  github = Github.new
#  github.pull_requests.comments.create 'user-name','repo-name','request-id',
#   "body" => "Nice change",
#   "commit_id" => "6dcb09b5b57875f334f61aebed695e2e4193db5e",
#   "path" => "file1.txt",
#   "position" => 4
#
# = Alternative Inputs
# Instead of passing commit_id, path, and position you can reply to
# an existing Pull Request Comment like this
# * <tt>:body</tt> - Required string
# * <tt>:in_reply_to</tt> - Required number - comment id to reply to.
#
# = Examples
#  github = Github.new
#  github.pull_requests.comments.create 'user-name','repo-name','request-id',
#    "body" => "Nice change",
#    "in_reply_to" => 4
#
Create a pull request comment
Inputs
:body - Required string
:commit_id - Required string - sha of the commit to comment on.
:path - Required string - Relative path of the file to comment on.
:position - Required number - Line index in the diff to comment on



Alternative Inputs
Instead of passing commit_id, path, and position you can reply to
an existing Pull Request Comment like this
:body - Required string
:in_reply_to - Required number - comment id to reply to.


Create a pull request comment Inputs : body - Required string : commit_id - Required string - sha of the commit to comment on . : path - Required string - Relative path of the file to comment on . : position - Required number - Line index in the diff to comment on Alternative Inputs Instead of passing commit_id path and position you can reply to an existing Pull Request Comment like this : body - Required string : in_reply_to - Required number - comment id to reply to .
def create(user_name, repo_name, request_id, params={})
      _update_user_repo_params(user_name, repo_name)
      _validate_user_repo_params(user, repo) unless user? && repo?
      _validate_presence_of request_id
      normalize! params
      filter! VALID_REQUEST_COM_PARAM_NAMES, params
      post_request("/repos/#{user}/#{repo}/pulls/#{request_id}/comments", params)
    end
def create ( user_name , repo_name , request_id , params = { } ) _update_user_repo_params ( user_name , repo_name ) _validate_user_repo_params ( user , repo ) unless user? && repo? _validate_presence_of request_id normalize! params filter! VALID_REQUEST_COM_PARAM_NAMES , params post_request ( "/repos/#{user}/#{repo}/pulls/#{request_id}/comments" , params ) end
Create a pull request comment
 Inputs
 <tt>:body</tt> - Required string
 <tt>:commit_id</tt> - Required string - sha of the commit to comment on.
Create a pull request comment Inputs <tt > : body< / tt > - Required string <tt > : commit_id< / tt > - Required string - sha of the commit to comment on .
# _merge_mime_type(:pull_comment, params) # _validate_reply_to(params)
user_name
<not_specific>
repo_name
<not_specific>
request_id
<not_specific>
params
<not_specific>