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

Version Path
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
webmock-3.14.0 lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.16.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.15.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.14.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.13 vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.12 vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-scalyr-0.1.11.beta vendor/bundle/jruby/2.5.0/gems/webmock-3.13.0/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
cloudsmith-api-0.57.1 vendor/bundle/ruby/2.6.0/gems/webmock-1.24.6/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
webmock-3.13.0 lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/2.7.0/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
vagrant-unbundled-2.2.16.0 vendor/bundle/ruby/3.0.0/gems/webmock-2.3.2/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
webmock-3.12.2 lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
webmock-3.12.1 lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
webmock-3.12.0 lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
webmock-3.11.3 lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/webmock-3.11.2/lib/webmock/http_lib_adapters/http_lib_adapter_registry.rb