module Octokit::Client::Labels

def labels(repo, options = {})

Other tags:
    Example: List labels for octokit/octokit.rb -

Other tags:
    See: https://developer.github.com/v3/issues/labels/#list-all-labels-for-this-repository -

Returns:
  • (Array) - A list of the labels across the repository

Parameters:
  • repo (Integer, String, Repository, Hash) -- A GitHub repository
def labels(repo, options = {})
  paginate "#{Repository.path repo}/labels", options
end