lib/github_labeler.rb
#
# Fetches a list of labels for a repository
#
Fetches a list of labels for a repository
Fetches a list of labels for a repository
def export_labels_from_repo(repo, options = {})
    @logger.debug "Exporting labels from repo #{repo}"
    @client.labels(repo).map do |label|
      { :name => label[:name], :color => label[:color] }
    end
  end
def export_labels_from_repo ( repo , options = { } ) @logger . debug "Exporting labels from repo #{repo}" @client . labels ( repo ) . map do | label | { :name => label [ :name ] , :color => label [ :color ] } end end
Fetches a list of labels for a repository
Fetches a list of labels for a repository
repo
options