Class: Contrast::Config::ServiceConfiguration
- Inherits:
-
BaseConfiguration
- Object
- BaseConfiguration
- Contrast::Config::ServiceConfiguration
- Defined in:
- lib/contrast/config/service_configuration.rb
Overview
Common Configuration settings. Those in this section pertain to the communication between the Agent & the Service.
Constant Summary collapse
- DEFAULT_HOST =
We don’t set these b/c we’ve been asked to handle the default values of these settings differently, logging when we have to use them.
'127.0.0.1'- DEFAULT_PORT =
'30555'- KEYS =
{ enable: EMPTY_VALUE, host: EMPTY_VALUE, port: EMPTY_VALUE, socket: EMPTY_VALUE, logger: Contrast::Config::LoggerConfiguration }.cs__freeze
Constants inherited from BaseConfiguration
BaseConfiguration::BOOLEANS, BaseConfiguration::EMPTY_VALUE
Instance Attribute Summary
Attributes inherited from BaseConfiguration
Instance Method Summary collapse
-
#initialize(hsh) ⇒ ServiceConfiguration
constructor
A new instance of ServiceConfiguration.
Methods inherited from BaseConfiguration
#assign_value_to_path_array, #nil?
Constructor Details
#initialize(hsh) ⇒ ServiceConfiguration
Returns a new instance of ServiceConfiguration.
25 26 27 |
# File 'lib/contrast/config/service_configuration.rb', line 25 def initialize hsh super(hsh, KEYS) end |