class AWS::Record::MethodValidator
Uses the base validator class to call user-defined validation methods. @private
Constants
- ACCEPTED_OPTIONS
Public Instance Methods
validate_attributes(record)
click to toggle source
# File lib/aws/record/validators/method.rb, line 25 def validate_attributes record attribute_names.each do |method_name| record.send(method_name) end end