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
30 31 32 |
# File 'lib/webmock/http_lib_adapters/manticore_adapter.rb', line 30 def call @handlers[:failure].call(Manticore::ConnectTimeout.new("Too slow (mocked timeout)")) end |