Sha256: 3326c0827785a839cb819bda22c1359f0cab59fdcc7e41588949520c1871b697
Contents?: true
Size: 939 Bytes
Versions: 25
Compression:
Stored size: 939 Bytes
Contents
# Copyright (c) 2020 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Config # The base of the Common Configuration settings. class RootConfiguration < BaseConfiguration KEYS = { enable: BaseConfiguration::EMPTY_VALUE, agent: Contrast::Config::AgentConfiguration, application: Contrast::Config::ApplicationConfiguration, server: Contrast::Config::ServerConfiguration, assess: Contrast::Config::AssessConfiguration, inventory: Contrast::Config::InventoryConfiguration, protect: Contrast::Config::ProtectConfiguration, service: Contrast::Config::ServiceConfiguration }.cs__freeze def initialize hsh = {} raise ArgumentError, 'Expected a hash' unless hsh.is_a?(Hash) super(hsh, KEYS) end end end end
Version data entries
25 entries across 25 versions & 1 rubygems