Class: Sunspot::Rails::StubSessionProxy
- Inherits:
-
Object
- Object
- Sunspot::Rails::StubSessionProxy
show all
- Defined in:
- lib/sunspot/rails/stub_session_proxy.rb
Defined Under Namespace
Classes: PaginatedCollection, Search
Instance Attribute Summary collapse
Instance Method Summary
collapse
Constructor Details
Returns a new instance of StubSessionProxy.
6
7
8
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 6
def initialize(original_session)
@original_session = original_session
end
|
Instance Attribute Details
#original_session ⇒ Object
Returns the value of attribute original_session.
4
5
6
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 4
def original_session
@original_session
end
|
Instance Method Details
#commit ⇒ Object
48
49
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 48
def commit
end
|
#commit_if_delete_dirty ⇒ Object
45
46
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 45
def commit_if_delete_dirty
end
|
#commit_if_dirty ⇒ Object
42
43
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 42
def commit_if_dirty
end
|
#delete_dirty? ⇒ Boolean
38
39
40
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 38
def delete_dirty?
false
end
|
#dirty? ⇒ Boolean
34
35
36
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 34
def dirty?
false
end
|
#index(*objects) ⇒ Object
10
11
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 10
def index(*objects)
end
|
#index!(*objects) ⇒ Object
13
14
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 13
def index!(*objects)
end
|
#new_more_like_this(*args) ⇒ Object
59
60
61
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 59
def new_more_like_this(*args)
Search.new
end
|
#new_search(*types) ⇒ Object
55
56
57
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 55
def new_search(*types)
Search.new
end
|
#remove(*objects) ⇒ Object
16
17
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 16
def remove(*objects)
end
|
#remove!(*objects) ⇒ Object
19
20
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 19
def remove!(*objects)
end
|
#remove_all(clazz = nil) ⇒ Object
28
29
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 28
def remove_all(clazz = nil)
end
|
#remove_all!(clazz = nil) ⇒ Object
31
32
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 31
def remove_all!(clazz = nil)
end
|
#remove_by_id(clazz, id) ⇒ Object
22
23
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 22
def remove_by_id(clazz, id)
end
|
#remove_by_id!(clazz, id) ⇒ Object
25
26
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 25
def remove_by_id!(clazz, id)
end
|
#search(*types) ⇒ Object
51
52
53
|
# File 'lib/sunspot/rails/stub_session_proxy.rb', line 51
def search(*types)
Search.new
end
|