Module: HttpDownloader
- Defined in:
- lib/http_downloader.rb,
lib/http_downloader/http/request.rb,
lib/http_downloader/download_request.rb,
lib/http_downloader/download_response.rb
Defined Under Namespace
Modules: Http Classes: DownloadRequest, DownloadResponse
Class Method Summary collapse
Class Method Details
.download(url, headers = {}, max_redirects = 5, http_options = {}) ⇒ Object
11 12 13 |
# File 'lib/http_downloader.rb', line 11 def self.download(url, headers = {}, max_redirects = 5, = {}) DownloadRequest.new(url, headers, max_redirects, ).execute end |