Sha256: 4bee44a448dea3615b9799c74d995615a77ba6097407336ada43ea6e1227dfc6
Contents?: true
Size: 939 Bytes
Versions: 9
Compression:
Stored size: 939 Bytes
Contents
# Copyright (c) 2021 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
9 entries across 9 versions & 1 rubygems