Class: TLSChecker::TLSAChecker
- Inherits:
-
InternetSecurityEvent::TLSAStatus
- Object
- InternetSecurityEvent::TLSAStatus
- TLSChecker::TLSAChecker
- Defined in:
- lib/tls_checker/tlsa_checker.rb
Instance Method Summary collapse
-
#initialize(record, certificate_checker) ⇒ TLSAChecker
constructor
A new instance of TLSAChecker.
- #to_e ⇒ Object
Constructor Details
#initialize(record, certificate_checker) ⇒ TLSAChecker
Returns a new instance of TLSAChecker.
5 6 7 8 9 |
# File 'lib/tls_checker/tlsa_checker.rb', line 5 def initialize(record, certificate_checker) super(record, certificate_checker.certificate) @certificate_checker = certificate_checker end |
Instance Method Details
#to_e ⇒ Object
11 12 13 14 15 16 |
# File 'lib/tls_checker/tlsa_checker.rb', line 11 def to_e super.merge( service: service, ttl: 12.hours, ) end |