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



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

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