Sha256: 3230315ade4114d5b75c0bc5f1e1c59d957749f8b12a546fdb066bfb130ea08b

Contents?: true

Size: 915 Bytes

Versions: 2

Compression:

Stored size: 915 Bytes

Contents

# frozen_string_literal: true

module Mcoin
  # :nodoc:
  module Market
    autoload :Base, 'mcoin/market/base'
    autoload :Bitfinex, 'mcoin/market/bitfinex'
    autoload :Bitstamp, 'mcoin/market/Bitstamp'
    autoload :Kraken, 'mcoin/market/kraken'
    autoload :Binance, 'mcoin/market/binance'
    autoload :Bitbank, 'mcoin/market/bitbank'
    autoload :Bitflyer, 'mcoin/market/bitflyer'
    autoload :Bittrex, 'mcoin/market/bittrex'
    autoload :Btcbox, 'mcoin/market/btcbox'
    autoload :Coincheck, 'mcoin/market/coincheck'
    autoload :Cryptopia, 'mcoin/market/cryptopia'
    autoload :Hitbtc, 'mcoin/market/hitbtc'
    autoload :Huobi, 'mcoin/market/huobi'
    autoload :Kucoin, 'mcoin/market/kucoin'
    autoload :Okex, 'mcoin/market/okex'
    autoload :Zaif, 'mcoin/market/zaif'

    def self.pick(name)
      const_get(name)
    end

    def self.available
      constants - [:Base]
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mcoin-0.6.1 lib/mcoin/market.rb
mcoin-0.6.0 lib/mcoin/market.rb