class StocktickerCli::CLI

Public Instance Methods

call() click to toggle source
# File lib/stockticker_cli/cli.rb, line 4
def call
    welcome 
end
goodbye() click to toggle source
# File lib/stockticker_cli/cli.rb, line 79
def goodbye
    puts "Happy Trading"
    sleep(1)
    puts "Goodbye!"
end
menu() click to toggle source
submenu() click to toggle source
welcome() click to toggle source
# File lib/stockticker_cli/cli.rb, line 8
def welcome 
    puts "Welcome to the stock ticker cli app!"
    puts ""
    puts "Please sign-up for a free account to use this app here: https://fmpcloud.io/register"
    sleep(1)
    puts "Please enter your api key to continue."
    $KEY = gets.strip
    menu 
end