Class: WebMock::HttpLibAdapter

Inherits:
Object
  • Object
show all
Defined in:
lib/webmock/http_lib_adapters/http_lib_adapter.rb

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