Class: Sunspot::Padrino::StubSessionProxy::Search
- Inherits:
-
Object
- Object
- Sunspot::Padrino::StubSessionProxy::Search
- Defined in:
- lib/sunspot/padrino/stub_session_proxy.rb
Instance Method Summary collapse
- #build ⇒ Object
- #dynamic_facet(name) ⇒ Object
- #execute ⇒ Object
- #facet(name) ⇒ Object
- #facets ⇒ Object
- #hits(options = {}) ⇒ Object (also: #raw_results)
- #results ⇒ Object
- #total ⇒ Object
Instance Method Details
#build ⇒ Object
76 77 78 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 76 def build self end |
#dynamic_facet(name) ⇒ Object
101 102 103 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 101 def dynamic_facet(name) FacetStub.new end |
#execute ⇒ Object
105 106 107 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 105 def execute self end |
#facet(name) ⇒ Object
97 98 99 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 97 def facet(name) FacetStub.new end |
#facets ⇒ Object
93 94 95 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 93 def facets [] end |
#hits(options = {}) ⇒ Object Also known as: raw_results
84 85 86 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 84 def hits( = {}) PaginatedCollection.new end |
#results ⇒ Object
80 81 82 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 80 def results PaginatedCollection.new end |
#total ⇒ Object
89 90 91 |
# File 'lib/sunspot/padrino/stub_session_proxy.rb', line 89 def total 0 end |