Class: UTorrent::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/u_torrent/configuration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#loggerObject



12
13
14
# File 'lib/u_torrent/configuration.rb', line 12

def logger
  @logger ||= Logger.new(STDOUT)
end

#passwordObject

Returns the value of attribute password.



5
6
7
# File 'lib/u_torrent/configuration.rb', line 5

def password
  @password
end

#portObject

Returns the value of attribute port.



5
6
7
# File 'lib/u_torrent/configuration.rb', line 5

def port
  @port
end

#protocolObject



8
9
10
# File 'lib/u_torrent/configuration.rb', line 8

def protocol
  @protocol ||= 'http'
end

#urlObject

Returns the value of attribute url.



5
6
7
# File 'lib/u_torrent/configuration.rb', line 5

def url
  @url
end

#usernameObject

Returns the value of attribute username.



5
6
7
# File 'lib/u_torrent/configuration.rb', line 5

def username
  @username
end