Sha256: bc8adb016743b5618ccf9fb393ae7e16d7f8a49d73b902b3ff22e5bbfbb56b48

Contents?: true

Size: 509 Bytes

Versions: 1

Compression:

Stored size: 509 Bytes

Contents

# typed: ignore

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

1 entries across 1 versions & 1 rubygems

Version Path
ddtrace-1.9.0 lib/datadog/appsec/contrib/rack/configuration/settings.rb