Method: Fetchers::Url#initialize
- Defined in:
- lib/fetchers/url.rb
#initialize(url, opts) ⇒ Url
Returns a new instance of Url.
96 97 98 99 100 101 102 103 |
# File 'lib/fetchers/url.rb', line 96 def initialize(url, opts) @target = url @insecure = opts['insecure'] @token = opts['token'] @config = opts @archive_path = nil @temp_archive_path = nil end |