Class: Pikuri::Thunderbird::ComposeGuard::Verdict
- Inherits:
-
Data
- Object
- Data
- Pikuri::Thunderbird::ComposeGuard::Verdict
- Defined in:
- lib/pikuri/thunderbird/compose_guard.rb
Overview
The outcome of checking one compose request.
ok—falseonly when a body flag forced a fail-closed abort.error— the fail-closed message (String), present iffokis false.to/cc/bcc— Array<String> addresses that passed the hard checks (rejected fields come back empty).subject— the String subject, ornil(absent, or dropped on a flag).body— the String body whenok(guaranteed clean), elsenil.notes— Array<String> human-facing warnings (dropped fields + novelty) for the observation.
Instance Attribute Summary collapse
-
#bcc ⇒ Object
readonly
Returns the value of attribute bcc.
-
#body ⇒ Object
readonly
Returns the value of attribute body.
-
#cc ⇒ Object
readonly
Returns the value of attribute cc.
-
#error ⇒ Object
readonly
Returns the value of attribute error.
-
#notes ⇒ Object
readonly
Returns the value of attribute notes.
-
#ok ⇒ Object
readonly
Returns the value of attribute ok.
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
-
#to ⇒ Object
readonly
Returns the value of attribute to.
Instance Attribute Details
#bcc ⇒ Object (readonly)
Returns the value of attribute bcc
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def bcc @bcc end |
#body ⇒ Object (readonly)
Returns the value of attribute body
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def body @body end |
#cc ⇒ Object (readonly)
Returns the value of attribute cc
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def cc @cc end |
#error ⇒ Object (readonly)
Returns the value of attribute error
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def error @error end |
#notes ⇒ Object (readonly)
Returns the value of attribute notes
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def notes @notes end |
#ok ⇒ Object (readonly)
Returns the value of attribute ok
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def ok @ok end |
#subject ⇒ Object (readonly)
Returns the value of attribute subject
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def subject @subject end |
#to ⇒ Object (readonly)
Returns the value of attribute to
90 91 92 |
# File 'lib/pikuri/thunderbird/compose_guard.rb', line 90 def to @to end |