Sha256: ac5bf4687831974661c2f6aedd3a5f671455061c9ed9d98210c880c703124463

Contents?: true

Size: 349 Bytes

Versions: 15

Compression:

Stored size: 349 Bytes

Contents

# typed: true

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

15 entries across 15 versions & 1 rubygems

Version Path
ddtrace-1.8.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.7.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.6.1 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.6.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.5.2 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.5.1 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.5.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.4.2 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.4.1 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.4.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.3.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.2.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.1.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.0.0 lib/datadog/appsec/contrib/sinatra/request_middleware.rb
ddtrace-1.0.0.beta2 lib/datadog/appsec/contrib/sinatra/request_middleware.rb