class Github::Issues::Comments
def list(user_name, repo_name, issue_id, params={})
github.issues.comments.all 'user-name', 'repo-name', 'issue-id' {|com| .. }
github.issues.comments.all 'user-name', 'repo-name', 'issue-id'
github = Github.new
= Examples
List comments on an issue
def list(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_request("/repos/#{user}/#{repo}/issues/#{issue_id}/comments", params) return response unless block_given? response.each { |el| yield el } end