Sha256: af612d4a4920182ee47615bc4bd89adc53d986f4d490e42e1aa1bd03568962fa

Contents?: true

Size: 659 Bytes

Versions: 2

Compression:

Stored size: 659 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
    # Common Configuration settings. Those in this section pertain to the
    # server identification functionality of the Agent.
    class ServerConfiguration < BaseConfiguration
      KEYS = {
          name: EMPTY_VALUE,
          path: EMPTY_VALUE,
          type: EMPTY_VALUE,
          tags: EMPTY_VALUE,
          environment: EMPTY_VALUE,
          version: EMPTY_VALUE
      }.cs__freeze

      def initialize hsh
        super(hsh, KEYS)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
contrast-agent-5.1.0 lib/contrast/config/server_configuration.rb
contrast-agent-5.0.0 lib/contrast/config/server_configuration.rb