Sha256: e73651105aefa66a1fafe4baa2c91aeb82ff3e256a30f50971d534af90e81111
Contents?: true
Size: 857 Bytes
Versions: 1
Compression:
Stored size: 857 Bytes
Contents
require 'ddtrace/contrib/configuration/settings' require 'datadog/ci/contrib/cucumber/ext' module Datadog module CI module Contrib module Cucumber module Configuration # Custom settings for the Cucumber integration class Settings < Datadog::Contrib::Configuration::Settings option :enabled do |o| o.default { env_to_bool(Ext::ENV_ENABLED, true) } o.lazy end option :service_name do |o| o.default { Datadog.configuration.service || Ext::SERVICE_NAME } o.lazy end option :operation_name do |o| o.default { ENV.key?(Ext::ENV_OPERATION_NAME) ? ENV[Ext::ENV_OPERATION_NAME] : Ext::OPERATION_NAME } o.lazy end end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ddtrace-0.50.0 | lib/datadog/ci/contrib/cucumber/configuration/settings.rb |