Class: Tasker::Types::BaseConfig
- Inherits:
-
Dry::Struct
- Object
- Dry::Struct
- Tasker::Types::BaseConfig
- Defined in:
- lib/tasker/types.rb
Overview
Base configuration class that ensures immutability
All Tasker configuration classes inherit from this base class to ensure they are frozen after creation, providing immutability and thread safety.
Also automatically handles deep symbolization of nested hash attributes.
Direct Known Subclasses
Tasker::Telemetry::EventMapping, AuthConfig, BackoffConfig, CacheConfig, DatabaseConfig, DependencyGraph, DependencyGraphConfig, EngineConfig, ExecutionConfig, HealthConfig, TelemetryConfig
Instance Method Summary collapse
-
#initialize ⇒ BaseConfig
constructor
A new instance of BaseConfig.
Constructor Details
#initialize ⇒ BaseConfig
Returns a new instance of BaseConfig.
39 40 41 42 |
# File 'lib/tasker/types.rb', line 39 def initialize(*) super freeze end |