class Minfraud::Model::Email
Model
containing information about the email address.
Attributes
An object containing information about the email domain.
@return [Minfraud::Model::EmailDomain]
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.
@return [String, nil]
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.
@return [Boolean, nil]
This property is true if MaxMind
believes that this email is hosted by a free email provider such as Gmail or Yahoo! Mail.
@return [Boolean, nil]
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.
@return [Boolean, nil]
Public Class Methods
@!visibility private
Minfraud::Model::Abstract::new
# File lib/minfraud/model/email.rb, line 43 def initialize(record) super(record) @domain = Minfraud::Model::EmailDomain.new(get('domain')) @first_seen = get('first_seen') @is_disposable = get('is_disposable') @is_free = get('is_free') @is_high_risk = get('is_high_risk') end