Class: SearchPage

Inherits:
CatalogPage show all
Defined in:
lib/etvnet_seek/core/search_page.rb

Constant Summary collapse

SEARCH_URL =
BASE_URL + "/search/"

Constants inherited from CatalogPage

CatalogPage::CATALOG_URL

Constants inherited from Page

Page::BASE_URL

Instance Attribute Summary

Attributes inherited from Page

#document

Attributes inherited from ServiceCall

#url

Instance Method Summary collapse

Methods inherited from CatalogPage

#items

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

#get, #post

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