Class: REIformslive::Credentials
- Inherits:
-
Object
- Object
- REIformslive::Credentials
- Defined in:
- lib/reiformslive/credentials.rb
Instance Attribute Summary collapse
-
#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: '') ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(username: '', password: '') ⇒ Credentials
Returns a new instance of Credentials.
5 6 7 |
# File 'lib/reiformslive/credentials.rb', line 5 def initialize username: '', password: '' @username, @password = username, password end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
3 4 5 |
# File 'lib/reiformslive/credentials.rb', line 3 def password @password end |
#username ⇒ Object (readonly)
Returns the value of attribute username.
3 4 5 |
# File 'lib/reiformslive/credentials.rb', line 3 def username @username end |