class Github::Repos::Commits
def commit_comments(user_name, repo_name, sha, params={})
github.repos.commits.commit_comments 'user-name', 'repo-name', '6dcb09b5b57875f334f61aebed695e2e4193db5e'
github = Github.new
= Examples
List comments for a single commit
def commit_comments(user_name, repo_name, sha, params={}) _update_user_repo_params(user_name, repo_name) _validate_user_repo_params(user, repo) unless user? && repo? _validate_presence_of sha _normalize_params_keys(params) response = get_request("/repos/#{user}/#{repo}/commits/#{sha}/comments", params) return response unless block_given? response.each { |el| yield el } end