Exception: Faraday::ForTest::Response::Assertion::AssertionError
- Inherits:
-
StandardError
- Object
- StandardError
- Faraday::ForTest::Response::Assertion::AssertionError
- Defined in:
- lib/faraday/for_test/response/assertion.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ AssertionError
constructor
A new instance of AssertionError.
Constructor Details
#initialize(response) ⇒ AssertionError
Returns a new instance of AssertionError.
7 8 9 |
# File 'lib/faraday/for_test/response/assertion.rb', line 7 def initialize(response) @response = response end |
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response.
5 6 7 |
# File 'lib/faraday/for_test/response/assertion.rb', line 5 def response @response end |