Exception: WT::ExpectedBodyNotFoundException
- Inherits:
-
Exception
- Object
- Exception
- WT::ExpectedBodyNotFoundException
- Defined in:
- lib/assertion.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ ExpectedBodyNotFoundException
constructor
A new instance of ExpectedBodyNotFoundException.
Constructor Details
#initialize(body) ⇒ ExpectedBodyNotFoundException
Returns a new instance of ExpectedBodyNotFoundException.
216 217 218 219 |
# File 'lib/assertion.rb', line 216 def initialize(body) super("Expected body was not found in response.") @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
214 215 216 |
# File 'lib/assertion.rb', line 214 def body @body end |