Class: LearnProxy::Credentials
- Inherits:
-
Object
- Object
- LearnProxy::Credentials
- Defined in:
- lib/common_tools/learn_proxy.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
Returns the value of attribute password.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize(username, password) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(username, password) ⇒ Credentials
Returns a new instance of Credentials.
58 59 60 61 |
# File 'lib/common_tools/learn_proxy.rb', line 58 def initialize(username, password) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
57 58 59 |
# File 'lib/common_tools/learn_proxy.rb', line 57 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
57 58 59 |
# File 'lib/common_tools/learn_proxy.rb', line 57 def username @username end |