Module: Mack::SessionStore

Defined in:
lib/mack/sessions/session_store_base.rb,
lib/mack/sessions/test_session_store.rb,
lib/mack/sessions/cookie_session_store.rb

Defined Under Namespace

Classes: Base, Cookie, Test

Class Method Summary collapse

Class Method Details

.expire(*args) ⇒ Object

Calls the expire method on the specified session store.



23
24
25
# File 'lib/mack/sessions/session_store_base.rb', line 23

def expire(*args)
  self.store.expire(*args)
end

.expire_all(*args) ⇒ Object

Calls the expire_all method on the specified session store.



28
29
30
# File 'lib/mack/sessions/session_store_base.rb', line 28

def expire_all(*args)
  self.store.expire_all(*args)
end

.get(*args) ⇒ Object

Calls the get method on the specified session store.



13
14
15
# File 'lib/mack/sessions/session_store_base.rb', line 13

def get(*args)
  self.store.get(*args)
end

.set(*args) ⇒ Object

Calls the set method on the specified session store.



18
19
20
# File 'lib/mack/sessions/session_store_base.rb', line 18

def set(*args)
  self.store.set(*args)
end

.storeObject

:nodoc:



6
7
8
9
10
# File 'lib/mack/sessions/session_store_base.rb', line 6

def store # :nodoc:
  ivar_cache do
    "Mack::SessionStore::#{configatron.mack.session_store.camelcase}".constantize
  end
end