Class: MailReport::TlsRpt::Failure

Inherits:
Data
  • Object
show all
Defined in:
lib/mailreport/tls_rpt.rb

Overview

ยง4.4.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(result_type: nil, count: nil, sending_mta_ip: nil, receiving_mx_hostname: nil, receiving_mx_helo: nil, receiving_ip: nil, additional_information: nil, failure_reason_code: nil) ⇒ Failure

Returns a new instance of Failure.



14
15
16
17
# File 'lib/mailreport/tls_rpt.rb', line 14

def initialize(result_type: nil, count: nil, sending_mta_ip: nil, receiving_mx_hostname: nil,
  receiving_mx_helo: nil, receiving_ip: nil, additional_information: nil, failure_reason_code: nil)
  super
end

Instance Attribute Details

#additional_informationObject (readonly)

Returns the value of attribute additional_information

Returns:

  • (Object)

    the current value of additional_information



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def additional_information
  @additional_information
end

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def count
  @count
end

#failure_reason_codeObject (readonly)

Returns the value of attribute failure_reason_code

Returns:

  • (Object)

    the current value of failure_reason_code



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def failure_reason_code
  @failure_reason_code
end

#receiving_ipObject (readonly)

Returns the value of attribute receiving_ip

Returns:

  • (Object)

    the current value of receiving_ip



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def receiving_ip
  @receiving_ip
end

#receiving_mx_heloObject (readonly)

Returns the value of attribute receiving_mx_helo

Returns:

  • (Object)

    the current value of receiving_mx_helo



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def receiving_mx_helo
  @receiving_mx_helo
end

#receiving_mx_hostnameObject (readonly)

Returns the value of attribute receiving_mx_hostname

Returns:

  • (Object)

    the current value of receiving_mx_hostname



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def receiving_mx_hostname
  @receiving_mx_hostname
end

#result_typeObject (readonly)

Returns the value of attribute result_type

Returns:

  • (Object)

    the current value of result_type



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def result_type
  @result_type
end

#sending_mta_ipObject (readonly)

Returns the value of attribute sending_mta_ip

Returns:

  • (Object)

    the current value of sending_mta_ip



12
13
14
# File 'lib/mailreport/tls_rpt.rb', line 12

def sending_mta_ip
  @sending_mta_ip
end