class Github::Client::Repos::Comments

def list(*args)

Other tags:
    Api: - public
def list(*args)
  arguments(args, required: [:user, :repo])
  params = arguments.params
  user   = arguments.user
  repo   = arguments.repo
  response = if (sha = params.delete('sha'))
    get_request("/repos/#{user}/#{repo}/commits/#{sha}/comments", params)
  else
    get_request("/repos/#{user}/#{repo}/comments", params)
  end
  return response unless block_given?
  response.each { |el| yield el }
end