moneda-cli
Version:
Command line to track cryptocurrency prices
15 lines (12 loc) • 366 B
JavaScript
class Coin {
constructor(symbol, currentPrice, high, low, source, error, convertedPrice){
this.symbol = symbol;
this.currentPrice = currentPrice;
this.high = high;
this.low = low;
this.source = source;
this.error = error;
this.convertedPrice = convertedPrice || null;
}
}
module.exports.Coin = Coin;