Class: Mxrb::RubyApp::RackAdapter::Request
- Inherits:
-
Struct
- Object
- Struct
- Mxrb::RubyApp::RackAdapter::Request
- Defined in:
- lib/mxrb/ruby_app.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#path ⇒ Object
Returns the value of attribute path.
-
#query ⇒ Object
Returns the value of attribute query.
-
#request_method ⇒ Object
Returns the value of attribute request_method.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
1213 1214 1215 |
# File 'lib/mxrb/ruby_app.rb', line 1213 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
1213 1214 1215 |
# File 'lib/mxrb/ruby_app.rb', line 1213 def headers @headers end |
#path ⇒ Object
Returns the value of attribute path
1213 1214 1215 |
# File 'lib/mxrb/ruby_app.rb', line 1213 def path @path end |
#query ⇒ Object
Returns the value of attribute query
1213 1214 1215 |
# File 'lib/mxrb/ruby_app.rb', line 1213 def query @query end |
#request_method ⇒ Object
Returns the value of attribute request_method
1213 1214 1215 |
# File 'lib/mxrb/ruby_app.rb', line 1213 def request_method @request_method end |
Instance Method Details
#[](name) ⇒ Object
1214 |
# File 'lib/mxrb/ruby_app.rb', line 1214 def [](name) = headers[name] |