Method: Finnhub::Client#crypto_exchanges

Defined in:
lib/Client.rb

#crypto_exchanges(plain: false) ⇒ Object



91
92
93
94
95
96
# File 'lib/Client.rb', line 91

def crypto_exchanges(plain: false)
  output = request("/crypto/exchange")
  return output if plain

  output.map{|o| Finnhub::Crypto_Exchange.new(client: self, name: o)}
end