If we want to use the current Digicert::CertificateDownloader form any other classes then we need to know too much about the internal implementation, like how to construct a new object, use its instance method to fetch or fetch_to_path or any other behavior where we have clearly defined class methods but there are some limitations
This commit fix these limitations for the class methods, so now we can replace the certificate instance methods to use these instead of dealing with downloaders internal implementation.
If we want to use the current
Digicert::CertificateDownloader
form any other classes then we need to know too much about the internal implementation, like how to construct a new object, use its instance method tofetch
orfetch_to_path
or any other behavior where we have clearly defined class methods but there are some limitationsThis commit fix these limitations for the class methods, so now we can replace the certificate instance methods to use these instead of dealing with downloaders internal implementation.