Module: Patento

Defined in:
lib/patento.rb,
lib/patento/claim.rb,
lib/patento/patent.rb,
lib/patento/document.rb,
lib/patento/publication.rb

Defined Under Namespace

Classes: Claim, Document, Patent, Publication

Class Method Summary collapse

Class Method Details

.download_html(number) ⇒ Object

class Downloader



12
13
14
# File 'lib/patento.rb', line 12

def self.download_html(number)
  Net::HTTP.get_response(URI.parse("http://www.google.com/patents/US#{number}")).body
end