Class: WebMock::HttpLibAdapters::ManticoreAdapter::StubbedTimeoutResponse

Inherits:
Manticore::StubbedResponse
  • Object
show all
Defined in:
lib/webmock/http_lib_adapters/manticore_adapter.rb

Instance Method Summary collapse

Instance Method Details

#callObject



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