Module: NewRelic::Security::Instrumentation::Ethon::Easy::Prepend

Includes:
NewRelic::Security::Instrumentation::Ethon::Easy
Defined in:
lib/newrelic_security/instrumentation-security/ethon/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Security::Instrumentation::Ethon::Easy

#headers_equals_on_enter, #perform_on_enter, #perform_on_exit

Instance Method Details

#headers=(headers) ⇒ Object



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

def headers=(headers)
  headers_equals_on_enter(headers) { return super }
end

#perform(*args) ⇒ Object



12
13
14
15
16
# File 'lib/newrelic_security/instrumentation-security/ethon/prepend.rb', line 12

def perform(*args)
  retval = nil
  event = perform_on_enter(*args) { retval = super }
  perform_on_exit(event) { return retval }
end