Class: XDR::StructValidator

Inherits:
ActiveModel::Validator
  • Object
show all
Defined in:
lib/xdr/struct_validator.rb

Instance Method Summary collapse

Instance Method Details

#validate(struct) ⇒ Object



2
3
4
5
# File 'lib/xdr/struct_validator.rb', line 2

def validate(struct)
  # validate each field
  # TODO
end