Class: Chase::Request
Overview
HTTP Request Class
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
- #headers ⇒ Object
-
#initialize ⇒ Request
constructor
A new instance of Request.
Methods included from Events
Constructor Details
#initialize ⇒ Request
Returns a new instance of Request.
8 9 10 |
# File 'lib/chase/request.rb', line 8 def initialize() @env = {} end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
6 7 8 |
# File 'lib/chase/request.rb', line 6 def env @env end |
Instance Method Details
#headers ⇒ Object
12 13 14 |
# File 'lib/chase/request.rb', line 12 def headers @headers ||= {} end |