Skip to content

enum Athena::Validator::Constraints::ISBN::Type #

Members#

ISBN10 = 0#

ISBN13 = 1#

Both = 2#

Methods#

#both?#

Returns true if this enum value equals Both

#isbn10?#

Returns true if this enum value equals ISBN10

#isbn13?#

Returns true if this enum value equals ISBN13

#message(constraint : AVD::Constraints::ISBN) : String#