• drew cimino's avatar
    Class method YamlProcessor.new_with_validation_errors · dbe5af5a
    drew cimino authored
    - Moved new structured validations messaging logic into a class method
      wrapping .new to prevent needing to process the YAML twice.
    - Should also make it easier for the application to switch over to
      using structured error messaging by directly using this class methid
      instead of a regular YamlProcessor.new
    dbe5af5a
yaml_processor_spec.rb 83.1 KB