Class: HexaPDF::Type::Signature::VerificationResult::Message
- Inherits:
-
Struct
- Object
- Struct
- HexaPDF::Type::Signature::VerificationResult::Message
- Defined in:
- lib/hexapdf/type/signature/verification_result.rb
Overview
This structure represents a single status message, containing the type (:info, :warning, :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
55 56 57 |
# File 'lib/hexapdf/type/signature/verification_result.rb', line 55 def content @content end |
#type ⇒ Object
Returns the value of attribute type
55 56 57 |
# File 'lib/hexapdf/type/signature/verification_result.rb', line 55 def type @type end |
Instance Method Details
#<=>(other) ⇒ Object
56 57 58 |
# File 'lib/hexapdf/type/signature/verification_result.rb', line 56 def <=>(other) MESSAGE_SORT_MAP[type][other.type] end |