Module: NetHTTPWithMiniProfiler

Defined in:
lib/patches/net_patches.rb

Instance Method Summary collapse

Instance Method Details

#request(request, *args, &block) ⇒ Object



7
8
9
10
11
# File 'lib/patches/net_patches.rb', line 7

def request(request, *args, &block)
  Rack::MiniProfiler.step("Net::HTTP #{request.method} #{request.path}") do
    super
  end
end