Module: NewRelic::Security::Instrumentation::Patron::Session::Prepend

Includes:
NewRelic::Security::Instrumentation::Patron::Session
Defined in:
lib/newrelic_security/instrumentation-security/patron/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Security::Instrumentation::Patron::Session

#request_on_enter, #request_on_exit

Instance Method Details

#request(action, url, headers, options = {}) ⇒ Object



8
9
10
11
12
# File 'lib/newrelic_security/instrumentation-security/patron/prepend.rb', line 8

def request(action, url, headers, options = {})
  retval = nil
  event = request_on_enter(action, url, headers, options) { retval = super }
  request_on_exit(event) { return retval }
end