Exception: WT::ExpectedHeadersNotFoundException
- Inherits:
-
Exception
- Object
- Exception
- WT::ExpectedHeadersNotFoundException
- Defined in:
- lib/assertion.rb
Instance Attribute Summary collapse
-
#header ⇒ Object
readonly
Returns the value of attribute header.
Instance Method Summary collapse
-
#initialize(header) ⇒ ExpectedHeadersNotFoundException
constructor
A new instance of ExpectedHeadersNotFoundException.
Constructor Details
#initialize(header) ⇒ ExpectedHeadersNotFoundException
Returns a new instance of ExpectedHeadersNotFoundException.
198 199 200 201 |
# File 'lib/assertion.rb', line 198 def initialize(header) super("Expected header(s) where not found in response.") @header = header end |
Instance Attribute Details
#header ⇒ Object (readonly)
Returns the value of attribute header.
196 197 198 |
# File 'lib/assertion.rb', line 196 def header @header end |