Class: Tina4::DispatchPipeline::RouteContext
- Inherits:
-
Struct
- Object
- Struct
- Tina4::DispatchPipeline::RouteContext
- Defined in:
- lib/tina4/dispatch_pipeline.rb
Overview
Per-route state shared between route stages.
Instance Attribute Summary collapse
-
#env ⇒ Object
Returns the value of attribute env.
-
#path_params ⇒ Object
Returns the value of attribute path_params.
-
#pre_request ⇒ Object
Returns the value of attribute pre_request.
-
#pre_response ⇒ Object
Returns the value of attribute pre_response.
-
#request ⇒ Object
Returns the value of attribute request.
-
#response ⇒ Object
Returns the value of attribute response.
-
#route ⇒ Object
Returns the value of attribute route.
Instance Attribute Details
#env ⇒ Object
Returns the value of attribute env
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def env @env end |
#path_params ⇒ Object
Returns the value of attribute path_params
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def path_params @path_params end |
#pre_request ⇒ Object
Returns the value of attribute pre_request
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def pre_request @pre_request end |
#pre_response ⇒ Object
Returns the value of attribute pre_response
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def pre_response @pre_response end |
#request ⇒ Object
Returns the value of attribute request
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def request @request end |
#response ⇒ Object
Returns the value of attribute response
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def response @response end |
#route ⇒ Object
Returns the value of attribute route
104 105 106 |
# File 'lib/tina4/dispatch_pipeline.rb', line 104 def route @route end |