Class: MailReport::Dmarc::Policy

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(domain: nil, adkim: nil, aspf: nil, p: nil, sp: nil, pct: nil, fo: nil) ⇒ Policy

Returns a new instance of Policy.



45
46
47
# File 'lib/mailreport/dmarc/report.rb', line 45

def initialize(domain: nil, adkim: nil, aspf: nil, p: nil, sp: nil, pct: nil, fo: nil)
  super
end

Instance Attribute Details

#adkimObject (readonly)

Returns the value of attribute adkim

Returns:

  • (Object)

    the current value of adkim



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def adkim
  @adkim
end

#aspfObject (readonly)

Returns the value of attribute aspf

Returns:

  • (Object)

    the current value of aspf



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def aspf
  @aspf
end

#domainObject (readonly)

Returns the value of attribute domain

Returns:

  • (Object)

    the current value of domain



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def domain
  @domain
end

#foObject (readonly)

Returns the value of attribute fo

Returns:

  • (Object)

    the current value of fo



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def fo
  @fo
end

#pObject (readonly)

Returns the value of attribute p

Returns:

  • (Object)

    the current value of p



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def p
  @p
end

#pctObject (readonly)

Returns the value of attribute pct

Returns:

  • (Object)

    the current value of pct



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def pct
  @pct
end

#spObject (readonly)

Returns the value of attribute sp

Returns:

  • (Object)

    the current value of sp



44
45
46
# File 'lib/mailreport/dmarc/report.rb', line 44

def sp
  @sp
end