Class: Epok::Search

Inherits:
Object
  • Object
show all
Includes:
Collectable
Defined in:
lib/epok/search.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Collectable

#collection, included

Constructor Details

#initialize(query) ⇒ Search

Returns a new instance of Search.



7
8
9
# File 'lib/epok/search.rb', line 7

def initialize(query)
  @query = query
end

Instance Attribute Details

#queryObject (readonly)

Returns the value of attribute query.



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

def query
  @query
end