class Github::PullRequests::Comments
def list(user_name, repo_name, request_id, params={})
github.pull_requests.comments.list 'user-name', 'repo-name', 'request-id'
github = Github.new
= Examples
List comments on a pull request
def list(user_name, repo_name, request_id, params={}) set :user => user_name, :repo => repo_name assert_presence_of user, repo, request_id normalize! params # _merge_mime_type(:pull_comment, params) response = get_request("/repos/#{user}/#{repo}/pulls/#{request_id}/comments", params) return response unless block_given? response.each { |el| yield el } end