Skip to content

Latest commit

 

History

History
21 lines (14 loc) · 680 Bytes

FieldValidation.md

File metadata and controls

21 lines (14 loc) · 680 Bytes

TransferZero::FieldValidation

Properties

Name Type Description Notes
presence Boolean Describes whether the field is mandatory or not [optional]
inclusion FieldSelectValidation [optional]
format Object Contains the regex to use to validate the input field [optional]

Code Sample

require 'TransferZero'

instance = TransferZero::FieldValidation.new(presence: true,
                                 inclusion: null,
                                 format: {"with":"(?-mix:\\A\\d+\\z)"})