Class: Tasker::Configuration::TelemetryConfigurationProxy
- Inherits:
-
ConfigurationProxy
- Object
- ConfigurationProxy
- Tasker::Configuration::TelemetryConfigurationProxy
- Defined in:
- lib/tasker/configuration.rb
Overview
Specialized configuration proxy for telemetry settings Handles special methods specific to TelemetryConfig
Instance Method Summary collapse
-
#configure_telemetry(options = {}) ⇒ Object
Handle telemetry-specific configuration method.
-
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Check if the proxy responds to telemetry-specific methods.
Methods inherited from ConfigurationProxy
#initialize, #method_missing, #to_h
Constructor Details
This class inherits a constructor from Tasker::Configuration::ConfigurationProxy
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Tasker::Configuration::ConfigurationProxy
Instance Method Details
#configure_telemetry(options = {}) ⇒ Object
Handle telemetry-specific configuration method
70 71 72 73 |
# File 'lib/tasker/configuration.rb', line 70 def configure_telemetry( = {}) current_config = @hash[:config] || {} @hash[:config] = current_config.merge() end |
#respond_to_missing?(method_name, include_private = false) ⇒ Boolean
Check if the proxy responds to telemetry-specific methods
80 81 82 |
# File 'lib/tasker/configuration.rb', line 80 def respond_to_missing?(method_name, include_private = false) method_name.to_s == 'configure_telemetry' || super end |