Exception: WT::ExpectedHeadersNotFoundException

Inherits:
Exception
  • Object
show all
Defined in:
lib/assertion.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#headerObject (readonly)

Returns the value of attribute header.



196
197
198
# File 'lib/assertion.rb', line 196

def header
  @header
end