Class: Torrentz::Fetch
Defined Under Namespace
Classes: PirateBay, Simple, Vertor
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(url) ⇒ Fetch
constructor
A new instance of Fetch.
Methods included from Logger
Constructor Details
#initialize(url) ⇒ Fetch
Returns a new instance of Fetch.
5 6 7 |
# File 'lib/torrentz/fetch.rb', line 5 def initialize(url) @url = url end |
Instance Method Details
#get ⇒ Object
9 10 11 12 13 14 |
# File 'lib/torrentz/fetch.rb', line 9 def get { :magnet => get_magnet, :torrent => get_torrent } end |