Class: UTorrent::Configuration
- Inherits:
-
Object
- Object
- UTorrent::Configuration
- Defined in:
- lib/u_torrent/configuration.rb
Instance Attribute Summary collapse
- #logger ⇒ Object
-
#password ⇒ Object
Returns the value of attribute password.
-
#port ⇒ Object
Returns the value of attribute port.
- #protocol ⇒ Object
-
#url ⇒ Object
Returns the value of attribute url.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Attribute Details
#logger ⇒ Object
12 13 14 |
# File 'lib/u_torrent/configuration.rb', line 12 def logger @logger ||= Logger.new(STDOUT) end |
#password ⇒ Object
Returns the value of attribute password.
5 6 7 |
# File 'lib/u_torrent/configuration.rb', line 5 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
5 6 7 |
# File 'lib/u_torrent/configuration.rb', line 5 def port @port end |
#protocol ⇒ Object
8 9 10 |
# File 'lib/u_torrent/configuration.rb', line 8 def protocol @protocol ||= 'http' end |
#url ⇒ Object
Returns the value of attribute url.
5 6 7 |
# File 'lib/u_torrent/configuration.rb', line 5 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
5 6 7 |
# File 'lib/u_torrent/configuration.rb', line 5 def username @username end |