Class: SSLyze::XML::InvalidTarget
- Inherits:
-
Object
- Object
- SSLyze::XML::InvalidTarget
- Includes:
- Attributes::Error
- Defined in:
- lib/sslyze/xml/invalid_target.rb
Overview
Represents the <invalidTarget>
XML element.
Instance Method Summary collapse
-
#host ⇒ String
The host name of the target.
-
#initialize(node) ⇒ InvalidTarget
constructor
Initializes the invalid target.
Methods included from Attributes::Error
Constructor Details
#initialize(node) ⇒ InvalidTarget
Initializes the invalid target.
18 19 20 |
# File 'lib/sslyze/xml/invalid_target.rb', line 18 def initialize(node) @node = node end |
Instance Method Details
#host ⇒ String
The host name of the target.
27 28 29 |
# File 'lib/sslyze/xml/invalid_target.rb', line 27 def host @host ||= @node.inner_text end |