Class: MailReport::Dmarc::Report

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(organization: nil, email: nil, extra_contact_info: nil, report_id: nil, range: nil, errors: [], policy: Policy.new, records: []) ⇒ Report

Returns a new instance of Report.



51
52
53
54
# File 'lib/mailreport/dmarc/report.rb', line 51

def initialize(organization: nil, email: nil, extra_contact_info: nil, report_id: nil,
               range: nil, errors: [], policy: Policy.new, records: [])
  super
end

Instance Attribute Details

#emailObject (readonly)

Returns the value of attribute email

Returns:

  • (Object)

    the current value of email



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def email
  @email
end

#errorsObject (readonly)

Returns the value of attribute errors

Returns:

  • (Object)

    the current value of errors



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def errors
  @errors
end

#extra_contact_infoObject (readonly)

Returns the value of attribute extra_contact_info

Returns:

  • (Object)

    the current value of extra_contact_info



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def extra_contact_info
  @extra_contact_info
end

#organizationObject (readonly)

Returns the value of attribute organization

Returns:

  • (Object)

    the current value of organization



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def organization
  @organization
end

#policyObject (readonly)

Returns the value of attribute policy

Returns:

  • (Object)

    the current value of policy



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def policy
  @policy
end

#rangeObject (readonly)

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def range
  @range
end

#recordsObject (readonly)

Returns the value of attribute records

Returns:

  • (Object)

    the current value of records



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def records
  @records
end

#report_idObject (readonly)

Returns the value of attribute report_id

Returns:

  • (Object)

    the current value of report_id



50
51
52
# File 'lib/mailreport/dmarc/report.rb', line 50

def report_id
  @report_id
end