lib/plezi/handlers/session.rb in plezi-0.11.2 vs lib/plezi/handlers/session.rb in plezi-0.12.0

- old
+ new

@@ -3,11 +3,11 @@ module SessionStorage module_function # returns a session object def fetch id return Plezi::Session.new(id) if Plezi.redis # avoid a local cache if Redis is used. - GRHttp::Base::FileSessionStorage.fetch id # use the tmp-file-session logic if Redis isn't present + Iodine::Http::SessionManager::FileSessionStorage.fetch id # use the tmp-file-session logic if Redis isn't present end end end # A hash like interface for storing request session data. # The store must implement: store(key, value) (aliased as []=); @@ -88,7 +88,7 @@ def failed raise 'Redis connection failed while using Redis Session Storage.' end end - GRHttp::SessionManager.storage = Plezi::Base::SessionStorage + Iodine::Http::SessionManager.storage = Plezi::Base::SessionStorage end