Sha256: ac6129356d6eee1cf312130114958deeeda685f0df62e52730b5d90ca88d91e5

Contents?: true

Size: 125 Bytes

Versions: 3

Compression:

Stored size: 125 Bytes

Contents

# frozen_string_literal: true

class PhoneNumberValidator < BaseValidator

  REGEXP ||= %r{^[0-9+()#.\s/ext-]+$}.freeze

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lite-validators-1.1.1 lib/lite/validators/phone_number_validator.rb
lite-validators-1.1.0 lib/lite/validators/phone_number_validator.rb
lite-validators-1.0.7 lib/lite/validators/phone_number_validator.rb