Class: Seiso::ImportMaster::Validators::NodeValidator

Inherits:
BaseValidator
  • Object
show all
Defined in:
lib/seiso/import_master/validators/node_validator.rb

Overview

Author

Willie Wheeler ([email protected])

Copyright

Copyright © 2014-2015 Expedia, Inc.

License

Apache 2.0

Instance Method Summary collapse

Methods inherited from BaseValidator

#error

Instance Method Details

#validate(doc) ⇒ Object



12
13
14
15
# File 'lib/seiso/import_master/validators/node_validator.rb', line 12

def validate(doc)
validate_si_key doc
validate_nodes doc
end