Class: Dionysus::Producer::Registry::Validator
- Inherits:
-
Object
- Object
- Dionysus::Producer::Registry::Validator
- Defined in:
- lib/dionysus/producer/registry/validator.rb
Instance Method Summary collapse
-
#initialize(registry: Dionysus::Producer.registry) ⇒ Validator
constructor
A new instance of Validator.
- #validate_columns ⇒ Object
Constructor Details
Instance Method Details
#validate_columns ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/dionysus/producer/registry/validator.rb', line 11 def validate_columns registry.registrations.each_value do |registration| registration.topics.each do |topic| topic .models .flat_map(&:observables_config) .each { |observable_config| validate_observable(observable_config) } end end end |