Skip to content

Commit f68f691

Browse files
horghclaude
andcommitted
Improve EmailDomainVisit documentation
* Clarified has_redirect description * Updated status value descriptions for accuracy Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6e0b845 commit f68f691

1 file changed

Lines changed: 10 additions & 7 deletions

File tree

lib/minfraud/model/email_domain_visit.rb

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ module Model
77
# Model containing information about an automated visit to the email
88
# domain.
99
class EmailDomainVisit < Abstract
10-
# Whether the domain redirects to another URL.
10+
# This is true if the domain in the request has redirects (configured
11+
# to automatically send visitors to another URL). Otherwise, this will
12+
# be nil.
1113
#
1214
# @return [Boolean, nil]
1315
attr_reader :has_redirect
@@ -19,12 +21,13 @@ class EmailDomainVisit < Abstract
1921
attr_reader :last_visited_on
2022

2123
# The status of the domain. Possible values are:
22-
# * live - The domain is operational and serving content.
23-
# * dns_error - The domain has missing, expired, or misconfigured DNS.
24-
# * network_error - The domain is offline or unreachable.
25-
# * http_error - The domain is reachable, but has an application error.
26-
# * parked - The domain is reachable and in a parked state.
27-
# * pre_development - The domain is reachable and in a pre-development
24+
# * live - The domain is reachable and serving content normally.
25+
# * dns_error - The domain is missing, expired, or DNS is misconfigured.
26+
# * network_error - The domain is offline, blocked, or unreachable.
27+
# * http_error - The domain is reachable but the web application had a
28+
# problem or denied the request.
29+
# * parked - The domain is live and is in a parked state.
30+
# * pre_development - The domain is live and is in a pre-development
2831
# state.
2932
#
3033
# @return [String, nil]

0 commit comments

Comments
 (0)