Class: ReactiveObservers::Observer::ContainerValidator
- Inherits:
-
Object
- Object
- ReactiveObservers::Observer::ContainerValidator
- Defined in:
- lib/reactive_observers/observer/container_validator.rb
Instance Method Summary collapse
-
#initialize(observer) ⇒ ContainerValidator
constructor
A new instance of ContainerValidator.
- #run_validations! ⇒ Object
Constructor Details
#initialize(observer) ⇒ ContainerValidator
Returns a new instance of ContainerValidator.
6 7 8 |
# File 'lib/reactive_observers/observer/container_validator.rb', line 6 def initialize(observer) @observer = observer end |
Instance Method Details
#run_validations! ⇒ Object
10 11 12 13 14 15 |
# File 'lib/reactive_observers/observer/container_validator.rb', line 10 def run_validations! validate_observe_trigger! validate_observe_notification! validate_observe_active_record! true end |