Class: Tenderloin::Downloaders::Base
- Inherits:
-
Object
- Object
- Tenderloin::Downloaders::Base
- Includes:
- Util
- Defined in:
- lib/tenderloin/downloaders/base.rb
Overview
Represents a base class for a downloader. A downloader handles downloading a box file to a temporary file.
Instance Method Summary collapse
-
#download!(source_url, destination_file) ⇒ Object
Downloads the source file to the destination file.
Methods included from Util
#error_and_exit, included, #logger, #wrap_output
Instance Method Details
#download!(source_url, destination_file) ⇒ Object
Downloads the source file to the destination file. It is up to implementors of this class to handle the logic.
10 |
# File 'lib/tenderloin/downloaders/base.rb', line 10 def download!(source_url, destination_file); end |