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
22 23 24 25 |
# File 'lib/webmock/http_lib_adapters/async_http_client_adapter.rb', line 22 def disable! Async::HTTP.send(:remove_const, :Client) Async::HTTP.send(:const_set, :Client, OriginalAsyncHttpClient) end |