Class: LearnProxy::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/common_tools/learn_proxy.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, password) ⇒ Credentials

Returns a new instance of Credentials.



58
59
60
61
# File 'lib/common_tools/learn_proxy.rb', line 58

def initialize(username, password)
  @username = username
  @password = password
end

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



57
58
59
# File 'lib/common_tools/learn_proxy.rb', line 57

def password
  @password
end

#usernameObject

Returns the value of attribute username.



57
58
59
# File 'lib/common_tools/learn_proxy.rb', line 57

def username
  @username
end