Class: Eclix::Credentials
- Inherits:
-
Object
- Object
- Eclix::Credentials
- Defined in:
- lib/eclix/sync.rb
Instance Attribute Summary collapse
-
#password ⇒ Object
readonly
Returns the value of attribute password.
-
#user ⇒ Object
readonly
Returns the value of attribute user.
Instance Method Summary collapse
-
#initialize(user, password) ⇒ Credentials
constructor
A new instance of Credentials.
Constructor Details
#initialize(user, password) ⇒ Credentials
Returns a new instance of Credentials.
6 7 8 9 |
# File 'lib/eclix/sync.rb', line 6 def initialize(user, password) @user = user @password = password end |
Instance Attribute Details
#password ⇒ Object (readonly)
Returns the value of attribute password.
5 6 7 |
# File 'lib/eclix/sync.rb', line 5 def password @password end |
#user ⇒ Object (readonly)
Returns the value of attribute user.
5 6 7 |
# File 'lib/eclix/sync.rb', line 5 def user @user end |