Class: LearnProxy::Credentials
- Inherits:
-
Object
- Object
- LearnProxy::Credentials
- Defined in:
- lib/work_together/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.
56 57 58 59 |
# File 'lib/work_together/learn_proxy.rb', line 56 def initialize(username, password) @username = username @password = password end |
Instance Attribute Details
#password ⇒ Object
Returns the value of attribute password.
55 56 57 |
# File 'lib/work_together/learn_proxy.rb', line 55 def password @password end |
#username ⇒ Object
Returns the value of attribute username.
55 56 57 |
# File 'lib/work_together/learn_proxy.rb', line 55 def username @username end |