Class: Typhoeus::Response

Inherits:
Object
  • Object
show all
Defined in:
lib/cms_scanner/typhoeus/response.rb

Overview

Custom Response class

Instance Method Summary collapse

Instance Method Details

#htmlNokogiri::HTML

Returns The response’s body parsed by Nokogiri.

Returns:

  • (Nokogiri::HTML)

    The response’s body parsed by Nokogiri



5
6
7
# File 'lib/cms_scanner/typhoeus/response.rb', line 5

def html
  Nokogiri::HTML(body)
end