Class: WebMock::HttpLibAdapters::ManticoreAdapter::StubbedTimeoutResponse
- Inherits:
-
Manticore::StubbedResponse
- Object
- Manticore::StubbedResponse
- WebMock::HttpLibAdapters::ManticoreAdapter::StubbedTimeoutResponse
- Defined in:
- lib/webmock/http_lib_adapters/manticore_adapter.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
28 29 30 |
# File 'lib/webmock/http_lib_adapters/manticore_adapter.rb', line 28 def call @handlers[:failure].call(Manticore::ConnectTimeout.new("Too slow (mocked timeout)")) end |