lib/newrelic-management/client.rb
def get_servers_labeled(labels)
      label_query = Array(labels).reject { |x| !x.include?(':') }.join(';')
      return [] unless label_query
      nr_api.get(url('servers'), 'filter[labels]' => label_query).body
    end
def get_servers_labeled(labels)
      label_query = Array(labels).reject { |x| !x.include?(':') }.join(';')
      return [] unless label_query
      nr_api.get(url('servers'), 'filter[labels]' => label_query).body
    end
def get_servers_labeled ( labels ) label_query = Array ( labels ) . reject { | x | ! x . include? ( ':' ) } . join ( ';' ) return [ ] unless label_query nr_api . get ( url ( 'servers' ) , 'filter[labels]' => label_query ) . body end
=> List the Servers with a Label
= > List the Servers with a Label