module Pantomath::Instrumentation::Grape::Adapter

Public Instance Methods

run(env) click to toggle source
Calls superclass method
# File lib/pantomath/instrumentation/grape/adapter.rb, line 7
def run(env)
  @env = env
  @request = ::Grape::Request.new(env)

  tracer.trace { super }
end

Private Instance Methods

tracer() click to toggle source
# File lib/pantomath/instrumentation/grape/adapter.rb, line 15
def tracer
  Tracer.new(self)
end