Module: R10K::Util::Downloader
- Included in:
- Tarball
- Defined in:
- lib/r10k/util/downloader.rb
Overview
Utility mixin for classes that need to download files
Instance Method Summary collapse
-
#checksum_algorithm ⇒ Symbol
Downloader objects need to checksum downloaded or saved content.
Instance Method Details
#checksum_algorithm ⇒ Symbol
Downloader objects need to checksum downloaded or saved content. The algorithm used to perform this checksumming (and therefore the kinds of checksums returned by various methods) is reported by this method.
15 16 17 |
# File 'lib/r10k/util/downloader.rb', line 15 def checksum_algorithm @checksum_algorithm ||= :SHA256 end |