Class: Rhoconnect::Credential

Inherits:
Object
  • Object
show all
Defined in:
lib/rhoconnect/credential.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(,password,token,url)
  @login,@password,@token,@url = ,password,token,url
end

Instance Attribute Details

#loginObject

Returns the value of attribute login.



3
4
5
# File 'lib/rhoconnect/credential.rb', line 3

def 
  @login
end

#passwordObject

Returns the value of attribute password.



3
4
5
# File 'lib/rhoconnect/credential.rb', line 3

def password
  @password
end

#tokenObject

Returns the value of attribute token.



3
4
5
# File 'lib/rhoconnect/credential.rb', line 3

def token
  @token
end

#urlObject

Returns the value of attribute url.



3
4
5
# File 'lib/rhoconnect/credential.rb', line 3

def url
  @url
end