Module: Lotus::Action::Rack
- Defined in:
- lib/lotus/action/rack.rb,
lib/lotus/action/rack/file.rb,
lib/lotus/action/rack/callable.rb
Overview
Rack integration API
Defined Under Namespace
Modules: Callable, ClassMethods Classes: File
Constant Summary collapse
- 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
[]
- DEFAULT_REQUEST_ID_LENGTH =
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 Request ID length
16
- REQUEST_METHOD =
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 request method
'REQUEST_METHOD'.freeze
- HEAD =
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.
HEAD request
'HEAD'.freeze
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.
53 54 55 |
# File 'lib/lotus/action/rack.rb', line 53 def self.included(base) base.extend ClassMethods end |