Module: QuadrigaCX::Coin
- Defined in:
- lib/quadrigacx/coin.rb
Constant Summary collapse
- BITCOIN =
'bitcoin'
- BITCOIN_CASH =
'bitcoincash'
- BITCOIN_GOLD =
'bitcoingold'
- LITECOIN =
'litecoin'
- ETHER =
'ether'
Class Method Summary collapse
Class Method Details
.valid?(type) ⇒ Boolean
9 10 11 |
# File 'lib/quadrigacx/coin.rb', line 9 def self.valid? type ALL_COINS.include?(type) end |