File: http_lib_adapter.rb

package info (click to toggle)
ruby-webmock 3.25.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,172 kB
  • sloc: ruby: 12,829; makefile: 6
file content (9 lines) | stat: -rw-r--r-- 183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

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