Method: WebFetch::Retriever#initialize
- Defined in:
- lib/web_fetch/retriever.rb
#initialize(storage, params, options) ⇒ Retriever
Returns a new instance of Retriever.
8 9 10 11 12 13 |
# File 'lib/web_fetch/retriever.rb', line 8 def initialize(storage, params, ) @uid = params[:uid] @hash = params[:hash] @storage = storage @block = .fetch(:block, true) end |