Method: Fetchers::Url#initialize
- Defined in:
- lib/fetchers/url.rb
#initialize(url, opts) ⇒ Url
Returns a new instance of Url.
77 78 79 80 81 82 |
# File 'lib/fetchers/url.rb', line 77 def initialize(url, opts) @target = url @insecure = opts['insecure'] @token = opts['token'] @config = opts end |