Sha256: eaa33bd0f68c31e20502f6f46be6dfb51c1d5008ed7f42f54b8b1df5cc40f742

Contents?: true

Size: 532 Bytes

Versions: 4

Compression:

Stored size: 532 Bytes

Contents

# typed: false

require 'datadog/appsec/contrib/configuration/settings'
require 'datadog/appsec/contrib/rack/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

4 entries across 4 versions & 1 rubygems

Version Path
ddtrace-1.2.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.1.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.0.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb
ddtrace-1.0.0.beta2 lib/datadog/appsec/contrib/rack/configuration/settings.rb