Class: Opticon::Failure::ResponseCodeTestFailure
- Defined in:
- lib/opticon/failure.rb
Instance Attribute Summary
Attributes inherited from Base
#condition, #exception, #response, #uri
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Opticon::Failure::Base
Instance Method Details
#failure_message ⇒ Object
25 26 27 |
# File 'lib/opticon/failure.rb', line 25 def "The service did not respond as expected; expected response code was #{condition.inspect} but got #{response.code.inspect} (#{response..inspect})" end |