Class: SearchPage
- Inherits:
-
CatalogPage
- Object
- ServiceCall
- Page
- ItemsPage
- CatalogPage
- SearchPage
- Defined in:
- lib/etvnet_seek/core/search_page.rb
Constant Summary collapse
- SEARCH_URL =
BASE_URL + "/search/"
Constants inherited from CatalogPage
Constants inherited from Page
Instance Attribute Summary
Attributes inherited from Page
Attributes inherited from ServiceCall
Instance Method Summary collapse
-
#initialize(params) ⇒ SearchPage
constructor
A new instance of SearchPage.
Methods inherited from CatalogPage
Methods inherited from ItemsPage
#categories, #category_breadcrumbs, #description, #items, #navigation_menu, #page_browser, #page_title, #see_too_items, #title, #title_items
Methods inherited from ServiceCall
Constructor Details
#initialize(params) ⇒ SearchPage
Returns a new instance of SearchPage.
8 9 10 |
# File 'lib/etvnet_seek/core/search_page.rb', line 8 def initialize(params) super("#{SEARCH_URL}?q=#{CGI.escape(*params)}") end |