Class: StubRequest
- Inherits:
-
Object
- Object
- StubRequest
- Defined in:
- lib/brine/test_steps.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#method ⇒ Object
Returns the value of attribute method.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize ⇒ StubRequest
constructor
A new instance of StubRequest.
Constructor Details
permalink #initialize ⇒ StubRequest
Returns a new instance of StubRequest.
38 39 40 |
# File 'lib/brine/test_steps.rb', line 38 def initialize @headers = {} end |
Instance Attribute Details
permalink #body ⇒ Object
Returns the value of attribute body.
36 37 38 |
# File 'lib/brine/test_steps.rb', line 36 def body @body end |
permalink #headers ⇒ Object
Returns the value of attribute headers.
36 37 38 |
# File 'lib/brine/test_steps.rb', line 36 def headers @headers end |
permalink #method ⇒ Object
Returns the value of attribute method.
36 37 38 |
# File 'lib/brine/test_steps.rb', line 36 def method @method end |
permalink #path ⇒ Object
Returns the value of attribute path.
36 37 38 |
# File 'lib/brine/test_steps.rb', line 36 def path @path end |