Class: Noip::Credentials
- Inherits:
-
Object
- Object
- Noip::Credentials
- Defined in:
- lib/noip/credentials.rb
Instance Attribute Summary collapse
-
#host ⇒ Object
readonly
Returns the value of attribute host.
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#username ⇒ Object
readonly
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, password, host) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(username, password, host) ⇒ Credentials
Returns a new instance of Credentials.
4 5 6 7 8 |
# File 'lib/noip/credentials.rb', line 4 def initialize(username, password, host) @username = username @password = password @host = host end |
Instance Attribute Details
#host ⇒ Object (readonly)
Returns the value of attribute host.
10 11 12 |
# File 'lib/noip/credentials.rb', line 10 def host @host end |
#password ⇒ Object (readonly)
Returns the value of attribute password.
10 11 12 |
# File 'lib/noip/credentials.rb', line 10 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
10 11 12 |
# File 'lib/noip/credentials.rb', line 10 def username @username end |