Module: Airbrake::Rails::CurlMulti

Defined in:
lib/airbrake/rails/curb.rb

Overview

Allows measuring request timing.

Instance Method Summary collapse

Instance Method Details

#http(urls_with_config, multi_options = {}, &block) ⇒ Object



22
23
24
25
26
# File 'lib/airbrake/rails/curb.rb', line 22

def http(urls_with_config, multi_options = {}, &block)
  Airbrake::Rack.capture_timing(:http) do
    super(urls_with_config, multi_options, &block)
  end
end