Module: Lotus::Action::Rack
- Defined in:
- lib/lotus/action/rack.rb
Overview
Rack integration API
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- SESSION_KEY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The default session key for Rack
'rack.session'.freeze
- DEFAULT_RESPONSE_CODE =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The default HTTP response code
200- DEFAULT_RESPONSE_BODY =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
The default Rack response body
[]
Class Method Summary collapse
-
.included(base) ⇒ Object
private
Override Ruby’s hook for modules.
Class Method Details
.included(base) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Override Ruby’s hook for modules. It includes basic Lotus::Action modules to the given class.
34 35 36 |
# File 'lib/lotus/action/rack.rb', line 34 def self.included(base) base.extend ClassMethods end |