def results(query)
      klass
        .where(where(query))
        .limit(limit)
        .map { |row| row_to_hash(row) }
    end
def results(query)
      klass
        .where(where(query))
        .limit(limit)
        .map { |row| row_to_hash(row) }
    end
Constructor

 @example
   UserTypeahead.new
   UserTypeahead.new(klass: Faculty, search_column: 'full_name', uid_column: 'net_id', limit: 25)
 @param options [Hash]
 @option options [Object] :klass (UcbRails::User) the (+ActiveRecord+) class to search
 @option options [Symbol] :search_column (:first_last_name) the column to search
 @option options [Symbol] :uid_column (:uid) the column holding the +uid+
 @option options [Symbol] :first_last_name (search_column) the column holding the first/last names
 @option options [FixNum] :limit (10) number of rows to return
 @return [UcbRails::UserTypeahead]
 Returns the data matching _query_.
 @example
   uta = UserTypeahead.new
   uta.results('art')        #=> [{uid: '1', first_last_name: 'Art Andrews'}, ...]
 @param query [String] search term to match name fields on
 @return [Array(Hash)]