Exception: WebScraper::ConfigurationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/web_scraper.rb

Overview

The error raises when a user tries to call a class method when not all required attributes were defined.

Instance Method Summary collapse

Instance Method Details

#messageObject



49
50
51
# File 'lib/web_scraper.rb', line 49

def message
  'resource, base, properties and key should be defined'
end