Class: HexaPDF::DigitalSignature::VerificationResult::Message
- Inherits:
-
Struct
- Object
- Struct
- HexaPDF::DigitalSignature::VerificationResult::Message
- Defined in:
- lib/hexapdf/digital_signature/verification_result.rb
Overview
This structure represents a single status message, containing the type (:info, :warning, or :error) and the content of the message.
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content
51 52 53 |
# File 'lib/hexapdf/digital_signature/verification_result.rb', line 51 def content @content end |
#type ⇒ Object
Returns the value of attribute type
51 52 53 |
# File 'lib/hexapdf/digital_signature/verification_result.rb', line 51 def type @type end |
Instance Method Details
#<=>(other) ⇒ Object
52 53 54 |
# File 'lib/hexapdf/digital_signature/verification_result.rb', line 52 def <=>(other) MESSAGE_SORT_MAP[type][other.type] end |