Sha256: 05bfc02d3b231dfa79f95685e9854a64af154ae9028efcc99224558d85ff4da0

Contents?: true

Size: 121 Bytes

Versions: 11

Compression:

Stored size: 121 Bytes

Contents

class XDR::StructValidator < ActiveModel::Validator
  def validate(struct)
    # validate each field
    # TODO
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
payshares-xdr-0.0.2 lib/xdr/struct_validator.rb
xdr-3.0.2 lib/xdr/struct_validator.rb
xdr-3.0.1 lib/xdr/struct_validator.rb
xdr-3.0.0 lib/xdr/struct_validator.rb
xdr-2.0.0 lib/xdr/struct_validator.rb
xdr-1.0.0 lib/xdr/struct_validator.rb
xdr-0.1.0 lib/xdr/struct_validator.rb
xdr-0.0.4 lib/xdr/struct_validator.rb
xdr-0.0.3 lib/xdr/struct_validator.rb
xdr-0.0.2 lib/xdr/struct_validator.rb
xdr-0.0.1 lib/xdr/struct_validator.rb