Class: Contrast::Config::ServerConfiguration
- Inherits:
-
BaseConfiguration
- Object
- BaseConfiguration
- Contrast::Config::ServerConfiguration
- 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
Instance Method Summary collapse
-
#initialize(hsh) ⇒ ServerConfiguration
constructor
A new instance of ServerConfiguration.
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 |