From c348eecfaa78fb5900b5f722567cb7cacf7bdcdc Mon Sep 17 00:00:00 2001 From: Ian Bayne Date: Fri, 30 Aug 2024 22:11:23 +0900 Subject: [PATCH] Update lib/valid_email2/address.rb Co-authored-by: Burkhard Vogel-Kreykenbohm --- lib/valid_email2/address.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/valid_email2/address.rb b/lib/valid_email2/address.rb index bb33f18..3922ee8 100644 --- a/lib/valid_email2/address.rb +++ b/lib/valid_email2/address.rb @@ -93,7 +93,7 @@ def allow_listed? alias_method :whitelisted?, :allow_listed? deprecate_method :whitelisted?, :allow_listed? - def blacklisted? + def deny_listed? valid? && domain_is_in?(ValidEmail2.deny_list) end alias_method :deny_listed?, :blacklisted?