Class: Ubcbooker::User

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

Overview

TODO:

  • Gemify

  • TDD

  • Catch when login fails

  • Feature to save password

  • Use Thor for CLI

  • Divide up to files

Instance Attribute Summary collapse

Instance Attribute Details

#passwordObject

Returns the value of attribute password.



16
17
18
# File 'lib/ubcbooker.rb', line 16

def password
  @password
end

#usernameObject

Returns the value of attribute username.



16
17
18
# File 'lib/ubcbooker.rb', line 16

def username
  @username
end