Sha256: 76ccbad2b313dbe21f81b3738043925880948bddaab2a6d6816fa23d93fe890b

Contents?: true

Size: 351 Bytes

Versions: 1

Compression:

Stored size: 351 Bytes

Contents

# typed: ignore

module Datadog
  module AppSec
    module Contrib
      module Sinatra
        # Rack middleware for AppSec on Sinatra
        class RequestMiddleware
          def initialize(app, opt = {})
            @app = app
          end

          def call(env)
            @app.call(env)
          end
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb