Class: SearchPage

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

Constant Summary collapse

SEARCH_URL =
BASE_URL + "/cgi-bin/video/eitv_browse.fcgi?action=search"

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 MediaPage

#items

Methods inherited from BasePage

#items, #page_title, #title

Methods inherited from ServiceCall

#get, #post

Constructor Details

#initialize(params) ⇒ SearchPage

Returns a new instance of SearchPage.



6
7
8
# File 'lib/etvnet_seek/core/search_page.rb', line 6

def initialize(params)
  super("#{SEARCH_URL}&keywords=#{CGI.escape(*params)}&order_direction=-")
end