Class: WebMock::HttpLibAdapter
- Inherits:
-
Object
- Object
- WebMock::HttpLibAdapter
- Defined in:
- lib/webmock/http_lib_adapters/http_lib_adapter.rb
Direct Known Subclasses
WebMock::HttpLibAdapters::AsyncHttpClientAdapter, WebMock::HttpLibAdapters::CurbAdapter, WebMock::HttpLibAdapters::EmHttpRequestAdapter, WebMock::HttpLibAdapters::ExconAdapter, WebMock::HttpLibAdapters::HTTPClientAdapter, WebMock::HttpLibAdapters::HttpRbAdapter, WebMock::HttpLibAdapters::ManticoreAdapter, WebMock::HttpLibAdapters::NetHttpAdapter, WebMock::HttpLibAdapters::PatronAdapter, WebMock::HttpLibAdapters::TyphoeusAdapter
Class Method Summary collapse
Class Method Details
.adapter_for(lib) ⇒ Object
3 4 5 |
# File 'lib/webmock/http_lib_adapters/http_lib_adapter.rb', line 3 def self.adapter_for(lib) WebMock::HttpLibAdapterRegistry.instance.register(lib, self) end |