class CoinSync::CryptoCurrency

Constants

MAPPING

Public Class Methods

new(code) click to toggle source
Calls superclass method
# File lib/coinsync/currencies.rb, line 23
def initialize(code)
  super(MAPPING[code] || code)
end

Public Instance Methods

crypto?() click to toggle source
# File lib/coinsync/currencies.rb, line 31
def crypto?
  true
end
fiat?() click to toggle source
# File lib/coinsync/currencies.rb, line 27
def fiat?
  false
end