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



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