Class: OgSession

Inherits:
Wee::Session show all
Defined in:
lib/wee/databases/og/session.rb

Instance Attribute Summary

Attributes inherited from Wee::Session

#component_runner, #page_store

Attributes inherited from Wee::RequestHandler

#application, #expire_after, #id, #max_lifetime, #max_requests

Instance Method Summary collapse

Methods inherited from Wee::Session

#current_callbacks, #initialize, #start_request_response_loop

Methods inherited from Wee::AbstractSession

current, #current_context, #get_property, #handle_request, #initialize, #properties, #properties=

Methods inherited from Wee::RequestHandler

#alive?, #handle_request, #initialize, #statistics, #teminate

Constructor Details

This class inherits a constructor from Wee::Session

Instance Method Details

#awakeObject



2
3
4
# File 'lib/wee/databases/og/session.rb', line 2

def awake
  application.db.get_store
end

#sleepObject



6
7
8
# File 'lib/wee/databases/og/session.rb', line 6

def sleep
  application.db.put_store
end