Class: UzuUzu::RackSession::Appengine
- Inherits:
-
Rack::Session::Abstract::ID
- Object
- Rack::Session::Abstract::ID
- UzuUzu::RackSession::Appengine
- Defined in:
- lib/uzuuzu-core/rack_session/appengine.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
readonly
Returns the value of attribute adapter.
Instance Method Summary collapse
- #app(app) ⇒ Object
- #destroy_session(env, session_id, options) ⇒ Object
- #generate_sid ⇒ Object
- #get_session(env, sid) ⇒ Object
-
#initialize(env = nil) ⇒ Appengine
constructor
A new instance of Appengine.
- #set_session(env, session_id, new_session, options) ⇒ Object
Constructor Details
#initialize(env = nil) ⇒ Appengine
Returns a new instance of Appengine.
13 14 15 16 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 13 def initialize(env=nil) @adapter = :appengine super(nil, env) end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
8 9 10 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 8 def adapter @adapter end |
Instance Method Details
#app(app) ⇒ Object
18 19 20 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 18 def app(app) @app = app end |
#destroy_session(env, session_id, options) ⇒ Object
36 37 38 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 36 def destroy_session(env, session_id, ) #TODO end |
#generate_sid ⇒ Object
22 23 24 25 26 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 22 def generate_sid loop do sid = super end end |
#get_session(env, sid) ⇒ Object
28 29 30 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 28 def get_session(env, sid) #TODO end |
#set_session(env, session_id, new_session, options) ⇒ Object
32 33 34 |
# File 'lib/uzuuzu-core/rack_session/appengine.rb', line 32 def set_session(env, session_id, new_session, ) #TODO end |