Sha256: b352eb1c474405ecfade1cff842f34823b777ac0162bbcd11d8e823eee589265
Contents?: true
Size: 500 Bytes
Versions: 13
Compression:
Stored size: 500 Bytes
Contents
module Vagrant module Downloaders # Represents a base class for a downloader. A downloader handles # downloading a box file to a temporary file. class Base include Vagrant::Util # Called prior to execution so any error checks can be done def prepare(source_url); end # Downloads the source file to the destination file. It is up to # implementors of this class to handle the logic. def download!(source_url, destination_file); end end end end
Version data entries
13 entries across 13 versions & 3 rubygems