Module: Datadog::AppSec::Contrib::Sinatra::AppSecSetupPatch

Defined in:
lib/datadog/appsec/contrib/sinatra/patcher.rb

Overview

Set tracer configuration at a late enough time

Instance Method Summary collapse

Instance Method Details

#setup_middleware(*args, &block) ⇒ Object



21
22
23
24
25
# File 'lib/datadog/appsec/contrib/sinatra/patcher.rb', line 21

def setup_middleware(*args, &block)
  super.tap do
    Datadog::AppSec::Contrib::Sinatra::Framework.setup
  end
end