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

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

Instance Method Summary (collapse)

Instance Method Details

- (Object) build



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

def build
  self
end

- (Object) dynamic_facet(name)



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

def dynamic_facet(name)
end

- (Object) execute



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

def execute
  self
end

- (Object) facet(name)



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

def facet(name)
end

- (Object) hits(options = {})



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

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

- (Object) results



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

def results
  PaginatedCollection.new
end

- (Object) total



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

def total
  0
end