Sha256: 09a1c8b708024e3f68baa0af14e6b036b852cfea6e88c1891687d3ce72d33355

Contents?: true

Size: 508 Bytes

Versions: 11

Compression:

Stored size: 508 Bytes

Contents

# typed: false

require_relative '../../configuration/settings'
require_relative '../ext'

module Datadog
  module AppSec
    module Contrib
      module Rack
        module Configuration
          # Custom settings for the Rack integration
          class Settings < Datadog::AppSec::Contrib::Configuration::Settings
            option :enabled do |o|
              o.default { env_to_bool(Ext::ENV_ENABLED, true) }
              o.lazy
            end
          end
        end
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
ddtrace-1.8.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.7.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.6.1 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.6.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.5.2 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.5.1 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.5.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.4.2 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.4.1 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.4.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.3.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb