Module: NewRelic::Agent::Instrumentation::Grape::Prepend

Defined in:
lib/new_relic/agent/instrumentation/grape/prepend.rb

Instance Method Summary collapse

Instance Method Details

#call(env) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/new_relic/agent/instrumentation/grape/prepend.rb', line 8

def call(env)
  begin
    super(env)
  ensure
    Grape::Instrumentation.capture_transaction(env, self)
  end
end