Sha256: 9d1aa6f975d7388ef67f30cf057f426eb758f9fe6cd885459066f84ee154ccb9
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 Bytes
Contents
module SSLyze # # Represents the `<invalidTarget>` XML element. # class InvalidTarget # # Initializes the invalid target. # # @param [Nokogiri::XML::Node] node # The `<invalid>` XML element. # def initialize(node) @node = node end # # The host name of the target. # # @return [String] # def host @host ||= @node.text end # # The error from the scan. # # @return [String] # def error @ip ||= @node['error'] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-sslyze-0.2.1 | lib/sslyze/invalid_target.rb |
ruby-sslyze-0.2.0 | lib/sslyze/invalid_target.rb |