Class: EmptyObjectMembersValidation
- Inherits:
-
ObjectMembersValidation
- Object
- ObjectMembersValidation
- EmptyObjectMembersValidation
- Defined in:
- lib/json_patterns.rb
Constant Summary
Constants included from Inspectable
Instance Method Summary collapse
- #to_s ⇒ Object
-
#validate_members(path, data) ⇒ Object
TODO: Handle first_name/value methods?.
Methods inherited from ObjectMembersValidation
Methods included from HashInitialized
Methods included from Inspectable
Instance Method Details
#to_s ⇒ Object
739 740 741 |
# File 'lib/json_patterns.rb', line 739 def to_s '' end |
#validate_members(path, data) ⇒ Object
TODO: Handle first_name/value methods?
732 733 734 735 736 737 |
# File 'lib/json_patterns.rb', line 732 def validate_members(path, data) ObjectMembersValidationResult.new( failures: [], remainder: data, ) end |