Skip to content

Commit 3c61b8d

Browse files
horghclaude
andcommitted
Add missing warning codes to Warning documentation
Added: BILLING_REGION_NOT_FOUND, EMAIL_ADDRESS_UNUSABLE, IP_ADDRESS_INVALID, IP_ADDRESS_RESERVED, SHIPPING_REGION_NOT_FOUND Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 476a4f0 commit 3c61b8d

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

lib/minfraud/model/warning.rb

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,30 @@ module Model
1717
# our database.
1818
# * BILLING_POSTAL_NOT_FOUND - the billing postal could not be found in our
1919
# database.
20+
# * BILLING_REGION_NOT_FOUND - the billing region could not be found in our
21+
# database.
22+
# * EMAIL_ADDRESS_UNUSABLE - the email address entered is likely incorrect
23+
# due to an integration issue. To avoid false positives, it has not been
24+
# used in scoring.
2025
# * INPUT_INVALID - the value associated with the key does not meet the
2126
# required constraints, e.g., "United States" in a field that requires a
2227
# two-letter country code.
2328
# * INPUT_UNKNOWN - an unknown key was encountered in the request body.
29+
# * IP_ADDRESS_INVALID - the IP address supplied is not a valid IPv4 or
30+
# IPv6 address.
2431
# * IP_ADDRESS_NOT_FOUND - the IP address could not be geolocated.
25-
# * SHIPPING_COUNTRY_MISSING - shipping address information was provided
26-
# without providing a shipping country.
32+
# * IP_ADDRESS_RESERVED - the IP address supplied is in a reserved
33+
# network.
2734
# * SHIPPING_CITY_NOT_FOUND - the shipping city could not be found in our
2835
# database.
36+
# * SHIPPING_COUNTRY_MISSING - shipping address information was provided
37+
# without providing a shipping country.
2938
# * SHIPPING_COUNTRY_NOT_FOUND - the shipping country could not be found in
3039
# our database.
3140
# * SHIPPING_POSTAL_NOT_FOUND - the shipping postal could not be found in
3241
# our database.
42+
# * SHIPPING_REGION_NOT_FOUND - the shipping region could not be found in
43+
# our database.
3344
class Warning < Abstract
3445
# This value is a machine-readable code identifying the warning.
3546
#

0 commit comments

Comments
 (0)