Skip to content

Commit

Permalink
Update lib/valid_email2/address.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Burkhard Vogel-Kreykenbohm <[email protected]>
  • Loading branch information
ianbayne and bvogel authored Aug 30, 2024
1 parent df26b1a commit c348eec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/valid_email2/address.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit c348eec

Please sign in to comment.