Sha256: 8689019071891b87e50075f6577fcdca22c9914b1f32984f66109a92da24249d

Contents?: true

Size: 771 Bytes

Versions: 10

Compression:

Stored size: 771 Bytes

Contents

# Copyright (c) 2023 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details.
# frozen_string_literal: true

require 'contrast/config/diagnostics/effective_config_value'
require 'contrast/config/diagnostics/tools'
require 'contrast/utils/object_share'

module Contrast
  module Config
    module Diagnostics
      # Reads All ENV variables.
      module ContrastUI
        class << self
          def contrast_ui_settings
            ui = Contrast::Config::Diagnostics::Tools.flatten_settings(Contrast::CONFIG.sources.
              for(Contrast::Components::Config::Sources::CONTRAST_UI))

            Contrast::Config::Diagnostics::Tools.to_config_values(ui, source: true)
          end
        end
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
contrast-agent-7.6.1 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.6.0 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.5.0 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.4.1 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.4.0 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.3.2 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.3.1 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.3.0 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.2.0 lib/contrast/config/diagnostics/contrast_ui.rb
contrast-agent-7.1.0 lib/contrast/config/diagnostics/contrast_ui.rb