module Github::Issues::Labels

def labels(user_name=nil, repo_name=nil, params={})


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

List all labels for a repository
def labels(user_name=nil, repo_name=nil, params={})
  _update_user_repo_params(user_name, repo_name)
  _validate_user_repo_params(user, repo) unless user? && repo?
  _normalize_params_keys(params)
  response = get("/repos/#{user}/#{repo}/labels", params)
  return response unless block_given?
  response.each { |el| yield el }
end