Class: Zypper::Onlinesearch::Request::Page::Packman

Inherits:
PageRequest
  • Object
show all
Defined in:
lib/zypper/onlinesearch/request.rb

Overview

Handle the page on Packman.

Constant Summary collapse

URL =
"http://packman.links2linux.org/package/"

Constants inherited from PageRequest

PageRequest::USER_AGENT

Instance Attribute Summary

Attributes inherited from PageRequest

#page

Instance Method Summary collapse

Methods inherited from PageRequest

#available?, #cache!, #cache_time, #forbidden?, #initialize, #not_found?, #redirected?, #redirected_to, #status, #timeout?, #to_data

Constructor Details

This class inherits a constructor from Zypper::Onlinesearch::PageRequest

Instance Method Details

#uriObject



196
197
198
# File 'lib/zypper/onlinesearch/request.rb', line 196

def uri
  URI(URL + URI.encode(@query))
end