Class: Sunspot::Rails::SessionProxy
- Inherits:
-
Object
- Object
- Sunspot::Rails::SessionProxy
- Extended by:
- MonitorMixin
- Defined in:
- lib/sunspot/rails/session_proxy.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ SessionProxy
constructor
A new instance of SessionProxy.
Constructor Details
#initialize ⇒ SessionProxy
Returns a new instance of SessionProxy.
27 28 29 |
# File 'lib/sunspot/rails/session_proxy.rb', line 27 def initialize @configuration = Sunspot::Rails::Configuration.new end |
Class Method Details
.instance ⇒ Object
7 8 9 10 11 |
# File 'lib/sunspot/rails/session_proxy.rb', line 7 def instance synchronize do @instance ||= new end end |
.reset! ⇒ Object
13 14 15 16 17 |
# File 'lib/sunspot/rails/session_proxy.rb', line 13 def reset! synchronize do @instance = nil end end |