module Github::Issues::Comments
def comments(user_name, repo_name, issue_id, params={})
@github.issues.comments 'user-name', 'repo-name', 'issue-id' { |com| ... }
@github.issues.comments 'user-name', 'repo-name', 'issue-id'
@github = Github.new
= Examples
List comments on an issue
def comments(user_name, repo_name, issue_id, params={}) _update_user_repo_params(user_name, repo_name) _validate_user_repo_params(user, repo) unless user? && repo? _validate_presence_of issue_id _normalize_params_keys(params) _merge_mime_type(:issue_comment, params) response = get("/repos/#{user}/#{repo}/issues/#{issue_id}/comments", params) return response unless block_given? response.each { |el| yield el } end