Class: Qa::LDF::EmptySearchService

Inherits:
Object
  • Object
show all
Defined in:
lib/qa/ldf/empty_search_service.rb

Overview

A search service that always returns no results.

Examples:

EmptySearchService.new.search('any query') # => {}

Instance Method Summary collapse

Instance Method Details

#search(_query) ⇒ Object

See Also:

  • Authority::Base#search


13
14
15
# File 'lib/qa/ldf/empty_search_service.rb', line 13

def search(_query)
  []
end