Sha256: 76b19edd5b9f5983d0c75e94dc3ae6ad6adf5e0297053dd6c67b86aa95f03e64
Contents?: true
Size: 990 Bytes
Versions: 4
Compression:
Stored size: 990 Bytes
Contents
# Copyright (c) 2022 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 = { api: Contrast::Config::ApiConfiguration, 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
4 entries across 4 versions & 1 rubygems