Class: UTorrent::Configuration
- Inherits:
-
Object
- Object
- UTorrent::Configuration
- Defined in:
- lib/u_torrent/configuration.rb
Instance Attribute Summary collapse
-
#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
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/u_torrent/configuration.rb', line 3 def password @password end |
#port ⇒ Object
Returns the value of attribute port.
3 4 5 |
# File 'lib/u_torrent/configuration.rb', line 3 def port @port end |
#protocol ⇒ Object
6 7 8 |
# File 'lib/u_torrent/configuration.rb', line 6 def protocol @protocol ||= 'http' end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/u_torrent/configuration.rb', line 3 def url @url end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/u_torrent/configuration.rb', line 3 def username @username end |