Module: FileDownloader

Defined in:
lib/file_downloader.rb,
lib/file_downloader/service.rb,
lib/file_downloader/version.rb

Defined Under Namespace

Classes: NoResponseBodyError, NotEofError, Service

Constant Summary collapse

VERSION =
'0.1.1'.freeze

Class Method Summary collapse

Class Method Details

.download(url:, filepath:) ⇒ Object



5
6
7
# File 'lib/file_downloader.rb', line 5

def self.download(url:, filepath:)
  Service.new(url, filepath).execute
end