Sha256: 70323509e8f72b1ebb7a96dd59ca09527e13a1e4b2282a58706ec6b7f9f1cd5d
Contents?: true
Size: 1.03 KB
Versions: 1
Compression:
Stored size: 1.03 KB
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 # Common Configuration settings. Those in this section pertain to the # server identification functionality of the Agent. class ServerConfiguration < BaseConfiguration # @return [String, nil] attr_accessor :name # @return [String, nil] attr_accessor :path # @return [String, nil] attr_accessor :type # @return [Array, nil] attr_accessor :tags # @return [String, nil] attr_accessor :environment # @return [String, nil] attr_accessor :version def initialize hsh = {} @path = traverse_config(hsh, :path) @name = traverse_config(hsh, :name) @type = traverse_config(hsh, :type) @tags = traverse_config(hsh, :tags) @environment = traverse_config(hsh, :environment) @version = traverse_config(hsh, :version) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
contrast-agent-6.0.0 | lib/contrast/config/server_configuration.rb |