Class: Contrast::Config::ServerConfiguration

Inherits:
BaseConfiguration show all
Defined in:
lib/contrast/config/server_configuration.rb

Overview

Common Configuration settings. Those in this section pertain to the server identification functionality of the Agent.

Constant Summary collapse

KEYS =
{
    name: EMPTY_VALUE,
    path: EMPTY_VALUE,
    type: EMPTY_VALUE,
    tags: EMPTY_VALUE,
    environment: EMPTY_VALUE,
    version: EMPTY_VALUE
}.cs__freeze

Constants inherited from BaseConfiguration

BaseConfiguration::BOOLEANS, BaseConfiguration::EMPTY_VALUE

Instance Attribute Summary

Attributes inherited from BaseConfiguration

#map

Instance Method Summary collapse

Methods inherited from BaseConfiguration

#assign_value_to_path_array, #nil?

Constructor Details

#initialize(hsh) ⇒ ServerConfiguration

Returns a new instance of ServerConfiguration.



18
19
20
# File 'lib/contrast/config/server_configuration.rb', line 18

def initialize hsh
  super(hsh, KEYS)
end