Method: Vert#validate
- Defined in:
- lib/vert.rb
#validate(hash, options = nil) ⇒ Object
85 86 87 88 89 90 91 92 93 |
# File 'lib/vert.rb', line 85 def validate(hash, = nil) unless .nil? (, OPTIONS_HASH_FORMAT) () end test_validations(hash, ) rescue InputError => exception build_error_output(exception) end |