class Aocli::Commands::FetchToken
Public Instance Methods
execute()
click to toggle source
# File lib/aocli/commands/fetch_token.rb, line 3 def execute file_path = Aocli::Values::Token::TOKEN_PATH if File.exist?(file_path) return File.read(file_path).strip() else return nil end end