module Trestle::Search::ChewyAdapter

Public Instance Methods

count(collection) click to toggle source
# File lib/trestle/search/adapters/chewy_adapter.rb, line 8
def count(collection)
  collection.count
end
finalize_collection(query) click to toggle source
# File lib/trestle/search/adapters/chewy_adapter.rb, line 4
def finalize_collection(query)
  query.records
end