Module: EventStore::HTTP::NetHTTP

Defined in:
lib/event_store/http/net_http.rb,
lib/event_store/http/net_http/extensions.rb,
lib/event_store/http/net_http/substitute.rb,
lib/event_store/http/net_http/substitute/telemetry.rb

Defined Under Namespace

Modules: Extensions Classes: Substitute

Class Method Summary collapse

Class Method Details

.activateObject



4
5
6
7
8
# File 'lib/event_store/http/net_http.rb', line 4

def self.activate
  Net::HTTP.class_exec do
    const_set :Substitute, Substitute
  end
end