class Github::Issues::Labels

def list(user_name, repo_name, params={})


github.issues.labels.list { |label| ... }
github.issues.labels.list
github = Github.new :user => 'user-name', :repo => 'repo-name'
= Examples

List all labels for a repository
def list(user_name, repo_name, params={})
  set :user => user_name, :repo => repo_name
  assert_presence_of user, repo
  normalize! params
  response = get_request("/repos/#{user}/#{repo}/labels", params)
  return response unless block_given?
  response.each { |el| yield el }
end