Sha256: 4dbb07af296570b301334c2e6c035189cb80bd272fb6e5a2648ebe91e232c1d5

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 Bytes

Contents

# typed: false

require 'datadog/appsec/contrib/configuration/settings'
require 'datadog/appsec/contrib/rails/ext'

module Datadog
  module AppSec
    module Contrib
      module Rails
        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/rails/configuration/settings.rb
ddtrace-1.1.0 lib/datadog/appsec/contrib/rails/configuration/settings.rb
ddtrace-1.0.0 lib/datadog/appsec/contrib/rails/configuration/settings.rb
ddtrace-1.0.0.beta2 lib/datadog/appsec/contrib/rails/configuration/settings.rb