Class: LearnProxy::Credentials

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(username, password) ⇒ Credentials

Returns a new instance of Credentials.



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

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

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



55
56
57
# File 'lib/work_together/learn_proxy.rb', line 55

def password
  @password
end

#usernameObject

Returns the value of attribute username.



55
56
57
# File 'lib/work_together/learn_proxy.rb', line 55

def username
  @username
end