Class: Hyperion::Kim::Request
- Inherits:
-
Struct
- Object
- Struct
- Hyperion::Kim::Request
- Defined in:
- lib/hyperion_test/kim.rb,
lib/hyperion_test/kim.rb
Overview
‘GET’ | ‘POST’ | …
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#params ⇒ Object
Returns the value of attribute params.
-
#path ⇒ Object
Returns the value of attribute path.
-
#verb ⇒ Object
(also: #method)
Returns the value of attribute verb.
Instance Method Summary collapse
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
31 32 33 |
# File 'lib/hyperion_test/kim.rb', line 31 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
31 32 33 |
# File 'lib/hyperion_test/kim.rb', line 31 def headers @headers end |
#params ⇒ Object
Returns the value of attribute params
31 32 33 |
# File 'lib/hyperion_test/kim.rb', line 31 def params @params end |
#path ⇒ Object
Returns the value of attribute path
31 32 33 |
# File 'lib/hyperion_test/kim.rb', line 31 def path @path end |
#verb ⇒ Object Also known as: method
Returns the value of attribute verb
31 32 33 |
# File 'lib/hyperion_test/kim.rb', line 31 def verb @verb end |
Instance Method Details
#merge(other) ⇒ Object
38 39 40 |
# File 'lib/hyperion_test/kim.rb', line 38 def merge(other) merge_params(other.params) end |