Class: Minfraud::Model::EmailDomain

Inherits:
Abstract
  • Object
show all
Defined in:
lib/minfraud/model/email_domain.rb

Overview

Model containing information about the email domain.

Instance Attribute Summary collapse

Instance Attribute Details

#classificationString? (readonly)

A classification of the domain. Possible values are:

  • business

  • education

  • government

  • isp_email

Returns:

  • (String, nil)


17
18
19
# File 'lib/minfraud/model/email_domain.rb', line 17

def classification
  @classification
end

#first_seenString? (readonly)

A date string (e.g. 2017-04-24) to identify the date an email domain was first seen by MaxMind. This is expressed using the ISO 8601 date format.

Returns:

  • (String, nil)


24
25
26
# File 'lib/minfraud/model/email_domain.rb', line 24

def first_seen
  @first_seen
end

#riskFloat? (readonly)

A risk score ranging from 0.01 to 99. Higher values indicate greater risk.

Returns:

  • (Float, nil)


30
31
32
# File 'lib/minfraud/model/email_domain.rb', line 30

def risk
  @risk
end

#visitMinfraud::Model::EmailDomainVisit? (readonly)

An object containing information about an automated visit to the email domain.



36
37
38
# File 'lib/minfraud/model/email_domain.rb', line 36

def visit
  @visit
end

#volumeFloat? (readonly)

Activity across the minFraud network expressed as sightings per million. The value ranges from 0.001 to 1,000,000.

Returns:

  • (Float, nil)


42
43
44
# File 'lib/minfraud/model/email_domain.rb', line 42

def volume
  @volume
end