Class: Torrentz::Search
- Inherits:
-
Object
- Object
- Torrentz::Search
- Includes:
- Rack::Utils
- Defined in:
- lib/torrentz/search.rb
Defined Under Namespace
Classes: Result
Constant Summary collapse
- URL =
"http://torrentz.eu/feed?q="
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(query) ⇒ Search
constructor
A new instance of Search.
Constructor Details
Instance Method Details
#get ⇒ Object
11 12 13 |
# File 'lib/torrentz/search.rb', line 11 def get @urls ||= urls_from(@url) end |