Sha256: 8f1ecdfecffeb53d617a102d0bf0188cc2e31793375bea9d64fe734a2bcc877e
Contents?: true
Size: 329 Bytes
Versions: 253
Compression:
Stored size: 329 Bytes
Contents
module WebMock class HttpLibAdapterRegistry include Singleton attr_accessor :http_lib_adapters def initialize @http_lib_adapters = {} end def register(lib, adapter) @http_lib_adapters[lib] = adapter end def each_adapter(&block) @http_lib_adapters.each(&block) end end end
Version data entries
253 entries across 242 versions & 16 rubygems