Module: SSLyze::XML::Attributes::Error
- Included in:
- Certinfo::CertificateValidation::PathValidation, InvalidTarget, Resum::SessionResumptionWithTLSTickets
- Defined in:
- lib/sslyze/xml/attributes/error.rb
Overview
Provides methods for parsing the error
XML attribute.
Instance Method Summary collapse
-
#error ⇒ String?
The error message, if an error occurred.
-
#error? ⇒ Boolean
Determines if an error occurred.
Instance Method Details
#error ⇒ String?
The error message, if an error occurred.
15 16 17 |
# File 'lib/sslyze/xml/attributes/error.rb', line 15 def error @error ||= @node['error'] end |
#error? ⇒ Boolean
Determines if an error occurred.
24 25 26 |
# File 'lib/sslyze/xml/attributes/error.rb', line 24 def error? !error.nil? end |