Module: Datadog::CI::Transport::Adapters::NetHttpClient

Defined in:
lib/datadog/ci/transport/adapters/net_http_client.rb

Class Method Summary collapse

Class Method Details

.original_net_httpObject



8
9
10
11
12
# File 'lib/datadog/ci/transport/adapters/net_http_client.rb', line 8

def self.original_net_http
  return ::Net::HTTP unless defined?(WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP)

  WebMock::HttpLibAdapters::NetHttpAdapter::OriginalNetHTTP
end