Class: Rhoconnect::Credential
- Inherits:
-
Object
- Object
- Rhoconnect::Credential
- Defined in:
- lib/rhoconnect/credential.rb
Instance Attribute Summary collapse
-
#login ⇒ Object
Returns the value of attribute login.
-
#password ⇒ Object
Returns the value of attribute password.
-
#token ⇒ Object
Returns the value of attribute token.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(login, password, token, url) ⇒ Credential
constructor
A new instance of Credential.
Constructor Details
#initialize(login, password, token, url) ⇒ Credential
Returns a new instance of Credential.
5 6 7 |
# File 'lib/rhoconnect/credential.rb', line 5 def initialize(login,password,token,url) @login,@password,@token,@url = login,password,token,url end |
Instance Attribute Details
#login ⇒ Object
Returns the value of attribute login.
3 4 5 |
# File 'lib/rhoconnect/credential.rb', line 3 def login @login end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/rhoconnect/credential.rb', line 3 def password @password end |
#token ⇒ Object
Returns the value of attribute token.
3 4 5 |
# File 'lib/rhoconnect/credential.rb', line 3 def token @token end |
#url ⇒ Object
Returns the value of attribute url.
3 4 5 |
# File 'lib/rhoconnect/credential.rb', line 3 def url @url end |