Sha256: e92ace1b16dad6a0fb2eb24b764b1941082cd89cb6e063f5925f7d17fd426ede

Contents?: true

Size: 251 Bytes

Versions: 6

Compression:

Stored size: 251 Bytes

Contents

[
    {
        "name": "adult_age",
        "rules": ["positive_integer", {"min_number": 18}]
    },

    {
        "name": "adult_age_with_custom_error",
        "rules": ["positive_integer", {"min_number": 18}],
        "error": "WRONG_AGE"
    }
]

Version data entries

6 entries across 3 versions & 3 rubygems

Version Path
ruby-livr-2.0.0 spec/test_suite/aliases_negative/01-adult_age/aliases.json
ruby-livr-2.0.0 spec/test_suite/aliases_positive/01-adult_age/aliases.json
livr2-2.0.0 spec/test_suite/aliases_negative/01-adult_age/aliases.json
livr2-2.0.0 spec/test_suite/aliases_positive/01-adult_age/aliases.json
livr-0.0.2 test/test_suite/aliases_negative/01-adult_age/aliases.json
livr-0.0.2 test/test_suite/aliases_positive/01-adult_age/aliases.json