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



5
6
7
# File 'lib/webmock/http_lib_adapters/http_lib_adapter.rb', line 5

def self.adapter_for(lib)
  WebMock::HttpLibAdapterRegistry.instance.register(lib, self)
end