Sha256: 6e7db96e2f4596e05b8ac034997876650132f2cc2921af1e19d46013f6b93875

Contents?: true

Size: 330 Bytes

Versions: 3

Compression:

Stored size: 330 Bytes

Contents

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ddtrace-1.10.1 lib/datadog/appsec/contrib/rails/request_middleware.rb
ddtrace-1.10.0 lib/datadog/appsec/contrib/rails/request_middleware.rb
ddtrace-1.0.0.beta1 lib/datadog/appsec/contrib/rails/request_middleware.rb