Class: Minfraud::Model::Email
- Inherits:
-
Abstract
- Object
- Abstract
- Minfraud::Model::Email
- Defined in:
- lib/minfraud/model/email.rb
Overview
Model containing information about the email address.
Instance Attribute Summary collapse
-
#domain ⇒ Minfraud::Model::EmailDomain
readonly
An object containing information about the email domain.
-
#first_seen ⇒ String?
readonly
A date string (e.g. 2017-04-24) to identify the date an email address was first seen by MaxMind.
-
#is_disposable ⇒ Boolean?
readonly
Whether this email address is from a disposable email provider.
-
#is_free ⇒ Boolean?
readonly
This property is true if MaxMind believes that this email is hosted by a free email provider such as Gmail or Yahoo! Mail.
-
#is_high_risk ⇒ Boolean?
readonly
This field is true if MaxMind believes that this email is likely to be used for fraud.
Instance Attribute Details
#domain ⇒ Minfraud::Model::EmailDomain (readonly)
An object containing information about the email domain.
13 14 15 |
# File 'lib/minfraud/model/email.rb', line 13 def domain @domain end |
#first_seen ⇒ String? (readonly)
A date string (e.g. 2017-04-24) to identify the date an email address was first seen by MaxMind. This is expressed using the ISO 8601 date format.
20 21 22 |
# File 'lib/minfraud/model/email.rb', line 20 def first_seen @first_seen end |
#is_disposable ⇒ Boolean? (readonly)
Whether this email address is from a disposable email provider. The value will be nil when no email address or email domain has been passed as an input.
27 28 29 |
# File 'lib/minfraud/model/email.rb', line 27 def is_disposable @is_disposable end |
#is_free ⇒ Boolean? (readonly)
This property is true if MaxMind believes that this email is hosted by a free email provider such as Gmail or Yahoo! Mail.
33 34 35 |
# File 'lib/minfraud/model/email.rb', line 33 def is_free @is_free end |
#is_high_risk ⇒ Boolean? (readonly)
This field is true if MaxMind believes that this email is likely to be used for fraud. Note that this is also factored into the overall risk_score in the response as well.
40 41 42 |
# File 'lib/minfraud/model/email.rb', line 40 def is_high_risk @is_high_risk end |