class TiaCrawler::CLI

Public Instance Methods

horarios() click to toggle source
# File lib/tia-crawler.rb, line 9
def horarios
  print "Tia: "
  alumat = STDIN.gets.chomp

  print "Senha: "
  password = STDIN.noecho(&:gets)

  puts "\nCrawling horarios..."

  credentials = Credentials.new alumat, password, '001'
  puts TiaService.horarios credentials
end