Class: Graphiti::RequestValidators::UpdateValidator
- Defined in:
- lib/graphiti/request_validators/update_validator.rb
Instance Attribute Summary
Attributes inherited from Validator
Instance Method Summary collapse
Methods inherited from Validator
#deserialized_payload, #initialize, #validate!
Constructor Details
This class inherits a constructor from Graphiti::RequestValidators::Validator
Instance Method Details
#validate ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/graphiti/request_validators/update_validator.rb', line 4 def validate if required_payload? && payload_matches_endpoint? super else false end end |