Class: DCI::Proxy::Download

Inherits:
Object show all
Defined in:
lib/dci/proxy/downloader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tth, usernames) ⇒ Download

Returns a new instance of Download.



6
7
8
9
# File 'lib/dci/proxy/downloader.rb', line 6

def initialize tth, usernames
	@tth = tth
	@usernames = usernames
end

Instance Attribute Details

#tthObject (readonly)

Returns the value of attribute tth.



4
5
6
# File 'lib/dci/proxy/downloader.rb', line 4

def tth
  @tth
end

#usernamesObject (readonly)

Returns the value of attribute usernames.



4
5
6
# File 'lib/dci/proxy/downloader.rb', line 4

def usernames
  @usernames
end