class CryptocoinFanboiPlus
Public Class Methods
new(regx, watch: [], ignore: [], colored: true, debug: false, filepath: '.')
click to toggle source
Calls superclass method
CryptocoinFanboi::new
# File lib/cryptocoin_fanboi.rb, line 592 def initialize(regx, watch: [], ignore: [], colored: true, debug: false, filepath: '.') reg = if regx.is_a? String then RemoteDwsRegistry.new domain: regx else regx end exchangerate_key = JustExchangeRatesPlus.fetch_app_id(reg) puts 'exchangerate_key:' + exchangerate_key.inspect if debug cmc_apikey = CoinmarketcapLitePlus.fetch_apikey(reg) puts 'cmc_apikey: ' + cmc_apikey.inspect if debug super(watch: watch, ignore: ignore, colored: colored, debug: debug, filepath: filepath, exchangerate_key: exchangerate_key, cmc_apikey: cmc_apikey) end