Module: NewRelic::Security::Instrumentation::Rails::Engine::Prepend

Includes:
NewRelic::Security::Instrumentation::Rails::Engine
Defined in:
lib/newrelic_security/instrumentation-security/rails/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Security::Instrumentation::Rails::Engine

#call_on_enter, #call_on_exit

Instance Method Details

#call(env) ⇒ Object



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

def call(env)
  retval = nil
  event = call_on_enter(env) { retval = super }
  call_on_exit(event, retval) { return retval }
end