README.md in valid_email2-2.2.3 vs README.md in valid_email2-2.3.0
- old
+ new
@@ -51,9 +51,14 @@
To validate that the domain is not a disposable email:
```ruby
validates :email, 'valid_email_2/email': { disposable: true }
```
+To validate that the domain is not a disposable email or a disposable email but whitelisted (under vendor/whitelist.yml):
+```ruby
+validates :email, 'valid_email_2/email': { disposable_with_whitelist: true }
+```
+
To validate that the domain is not blacklisted (under vendor/blacklist.yml):
```ruby
validates :email, 'valid_email_2/email': { blacklist: true }
```