def fetch_queries(queries)
      raise ArgumentError, 'Error: Must have queries' unless queries.is_a?(Array)
      build = CircleCi::Build.new @username, @reponame, nil, @build, @config
      artifacts = build.artifacts

      if artifacts.nil?
        STDERR.puts 'Error: No artifacts'
        return Results.new
      end
      parse(artifacts: artifacts, queries: queries)
    end
def fetch_queries(queries)
      raise ArgumentError, 'Error: Must have queries' unless queries.is_a?(Array)
      build = CircleCi::Build.new @username, @reponame, nil, @build, @config
      artifacts = build.artifacts

      if artifacts.nil?
        STDERR.puts 'Error: No artifacts'
        return Results.new
      end
      parse(artifacts: artifacts, queries: queries)
    end
@param   token [String]
 @param   username [String]
 @param   reponame [String]
 @param   build [String]
 Give array of Query to find, returns Results

 @param queries [Array<Query>]
 @return  [ResultSet]