lib/yoti/util/age_processor.rb in yoti-1.5.0 vs lib/yoti/util/age_processor.rb in yoti-1.6.0

- old
+ new

@@ -1,6 +1,10 @@ module Yoti + # # Process age attribute + # + # @deprecated 2.0.0 - replaced by Yoti::AgeVerification + # class AgeProcessor AGE_PATTERN = 'age_(over|under):[1-9][0-9]?[0-9]?' # check if the key matches the format age_[over|under]:[1-999] def self.is_age_verification(age_field)