Class: WebMock::HttpLibAdapters::AsyncHttpClientAdapter
- Inherits:
-
WebMock::HttpLibAdapter
- Object
- WebMock::HttpLibAdapter
- WebMock::HttpLibAdapters::AsyncHttpClientAdapter
- Defined in:
- lib/webmock/http_lib_adapters/async_http_client_adapter.rb
Constant Summary collapse
Class Method Summary collapse
Methods inherited from WebMock::HttpLibAdapter
Class Method Details
.disable! ⇒ Object
24 25 26 27 |
# File 'lib/webmock/http_lib_adapters/async_http_client_adapter.rb', line 24 def disable! Async::HTTP.send(:remove_const, :Client) Async::HTTP.send(:const_set, :Client, OriginalAsyncHttpClient) end |