Class: K8::Action
- Inherits:
-
BaseAction
- Object
- BaseAction
- K8::Action
- Defined in:
- lib/keight.rb
Overview
Equivarent to Controller or RequestHandler in other framework.
Instance Attribute Summary
Attributes inherited from BaseAction
Instance Method Summary collapse
-
#initialize(req, res) ⇒ Action
constructor
just for compatibility with other frameworks; use @sess!.
Methods inherited from BaseAction
Constructor Details
#initialize(req, res) ⇒ Action
just for compatibility with other frameworks; use @sess!
775 776 777 778 779 |
# File 'lib/keight.rb', line 775 def initialize(req, res) super #; [!7sfyf] sets session object. @sess = req.env['rack.session'] end |