Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print "Use SafeMLS token today (y/n)? "
- while got = $stdin.gets
- choice = got.to_i
- case choice
- when 'y'
- puts "Enter SafeMLS token: "
- @secure_key = $stdin.gets
- when 'n'
- @secure_key = nil
- else
- print "\nInvalid choice!\n"
- print "Use SafeMLS token today (y/n)? "
- end
- end
Add Comment
Please, Sign In to add comment