Method: Ingenia::HtmlExtractor.fetch
- Defined in:
- lib/ingenia_api/html_extractor.rb
.fetch(params = {}) ⇒ Object
Fetch the url html
9 10 11 12 13 14 15 16 |
# File 'lib/ingenia_api/html_extractor.rb', line 9 def self.fetch( params = {} ) raise(MissingUrl) unless params.has_key?(:url) initialize_params params Ingenia::Api.verify_response do Remote.get( "#{PATH}/fetch", @params ) end end |