Class: MythicBeasts::DNS::EmailAuth::CheckResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/mythic_beasts/dns/email_auth.rb

Overview

Result of an individual check (SPF, DMARC, or DKIM)

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#details ⇒ Object

Returns the value of attribute details

Returns:

  • (Object) —

    the current value of details



28
29
30
# File 'lib/mythic_beasts/dns/email_auth.rb', line 28

def details
  @details
end

#errors ⇒ Object

Returns the value of attribute errors

Returns:

  • (Object) —

    the current value of errors



28
29
30
# File 'lib/mythic_beasts/dns/email_auth.rb', line 28

def errors
  @errors
end

#record ⇒ Object

Returns the value of attribute record

Returns:

  • (Object) —

    the current value of record



28
29
30
# File 'lib/mythic_beasts/dns/email_auth.rb', line 28

def record
  @record
end

#valid ⇒ Object

Returns the value of attribute valid

Returns:

  • (Object) —

    the current value of valid



28
29
30
# File 'lib/mythic_beasts/dns/email_auth.rb', line 28

def valid
  @valid
end

#warnings ⇒ Object

Returns the value of attribute warnings

Returns:

  • (Object) —

    the current value of warnings



28
29
30
# File 'lib/mythic_beasts/dns/email_auth.rb', line 28

def warnings
  @warnings
end

Instance Method Details

#valid? ⇒ Boolean

Returns true if this individual check passed.

Returns:

  • (Boolean) —

    true if this individual check passed



30
31
32
# File 'lib/mythic_beasts/dns/email_auth.rb', line 30

def valid?
  valid
end