Class: ProxyFetcher::Exceptions::BlankAdapter

Inherits:
ProxyFetcher::Error
  • Object
show all
Defined in:
lib/proxy_fetcher/exceptions.rb

Instance Method Summary collapse

Constructor Details

#initializeBlankAdapter

Returns a new instance of BlankAdapter.



43
44
45
46
47
48
49
# File 'lib/proxy_fetcher/exceptions.rb', line 43

def initialize(*)
  super("    you need to specify adapter for HTML parsing: ProxyFetcher.config.adapter = :nokogiri.\n    You can use one of the predefined adapters (:nokogiri or :oga) or your own implementation.\n    MSG\n  )\nend\n".strip.squeeze