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



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

def build
  self
end

#dynamic_facet(name) ⇒ Object



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

def dynamic_facet(name)
end

#executeObject



87
88
89
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 87

def execute
  self
end

#facet(name) ⇒ Object



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

def facet(name)
end

#hits(options = {}) ⇒ Object



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

def hits(options = {})
  PaginatedCollection.new
end

#resultsObject



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

def results
  PaginatedCollection.new
end

#totalObject



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

def total
  0
end