Module: Contrast::Config::Diagnostics::ContrastUI

Defined in:
lib/contrast/config/diagnostics/contrast_ui.rb

Overview

Reads All ENV variables.

Class Method Summary collapse

Class Method Details

.contrast_ui_settingsObject



14
15
16
17
18
19
# File 'lib/contrast/config/diagnostics/contrast_ui.rb', line 14

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