Sha256: 3352e7b79dd4ccd54238c330e4e408f8fe6cbfac91768ef55084ec48dc4140dc
Contents?: true
Size: 351 Bytes
Versions: 154
Compression:
Stored size: 351 Bytes
Contents
module HTTP class Client alias_method :__perform__, :perform def perform(request, options) return __perform__(request, options) unless webmock_enabled? WebMockPerform.new(request) { __perform__(request, options) }.exec end def webmock_enabled? ::WebMock::HttpLibAdapters::HttpRbAdapter.enabled? end end end
Version data entries
154 entries across 145 versions & 10 rubygems