class Zugpferd::Validator

Overview

Profile-aware field validator. Accumulates all violations before raising, so the caller sees the complete list of problems at once.

Business Term (BT) references follow EN 16931-1:2017.

Defined in:

zugpferd/validator.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(invoice : Invoice) #

[View source]

Instance Method Detail

def validate! : Nil #

[View source]