Method: SSLyze::XML::HTTPHeaders::HTTPStrictTransportSecurity#preload?

Defined in:
lib/sslyze/xml/http_headers/http_strict_transport_security.rb

#preload?Boolean

Parses the preload XML attribute.

Returns:

Since:

  • 1.0.0



52
53
54
# File 'lib/sslyze/xml/http_headers/http_strict_transport_security.rb', line 52

def preload?
  Boolean[@node['preload']]
end