Class: Spotlite::Search

Inherits:
List
  • Object
show all
Defined in:
lib/spotlite/search.rb

Constant Summary collapse

SKIP =
["(TV Episode)", "(TV Series)", "(TV Movie)", "(Video)", "(Short)", "(Video Game)"]

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from List

#movies

Constructor Details

#initialize(query) ⇒ Search

Initialize a Search object with string search query



10
11
12
# File 'lib/spotlite/search.rb', line 10

def initialize(query)
  @query = query
end

Instance Attribute Details

#queryObject (readonly)

Returns the value of attribute query.



5
6
7
# File 'lib/spotlite/search.rb', line 5

def query
  @query
end