Module: SSLyze::XML::Attributes::Exception
- Defined in:
- lib/sslyze/xml/attributes/exception.rb
Overview
Provides methods for accessing the exception
XML attribute.
Instance Method Summary collapse
-
#exception ⇒ String?
The exception message, if an exception occurred.
-
#exception? ⇒ Boolean
Tests whether an exception occurred.
Instance Method Details
#exception ⇒ String?
The exception message, if an exception occurred.
15 16 17 |
# File 'lib/sslyze/xml/attributes/exception.rb', line 15 def exception @exception ||= @node['exception'] end |
#exception? ⇒ Boolean
Tests whether an exception occurred.
24 25 26 |
# File 'lib/sslyze/xml/attributes/exception.rb', line 24 def exception? !exception.nil? end |