class MoocDataParser::AuthCoordinator

Public Instance Methods

auth() click to toggle source
# File lib/mooc_data_parser/auth_coordinator.rb, line 5
def auth
  print 'username: '
  username = $stdin.gets.strip
  print 'password: '
  password = $stdin.noecho(&:gets).strip
  puts
  {username: username, password: password}
end