Class: Sunspot::Rails::StubSessionProxy::Search

Inherits:
Object
  • Object
show all
Defined in:
lib/sunspot/rails/stub_session_proxy.rb

Instance Method Summary collapse

Instance Method Details

#buildObject



60
61
62
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 60

def build
  self
end

#dynamic_facet(name) ⇒ Object



79
80
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 79

def dynamic_facet(name)
end

#executeObject



82
83
84
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 82

def execute
  self
end

#facet(name) ⇒ Object



76
77
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 76

def facet(name)
end

#hits(options = {}) ⇒ Object



68
69
70
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 68

def hits(options = {})
  []
end

#resultsObject



64
65
66
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 64

def results
  []
end

#totalObject



72
73
74
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 72

def total
  0
end