Class: BinanceClient::BookTickerResponse
- Inherits:
-
BaseResponse
- Object
- BaseResponse
- BinanceClient::BookTickerResponse
- Defined in:
- lib/binance_client/responses/book_ticker_response.rb
Instance Method Summary collapse
Methods inherited from BaseResponse
#body_code, #default_message, #used_weights
Instance Method Details
#book_tickers ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/binance_client/responses/book_ticker_response.rb', line 4 def book_tickers book_ticker_hashes = [body].flatten @book_tickers ||= book_ticker_hashes.map do |book_ticker_hash| BookTicker.new_from_raw_hash(book_ticker_hash) end end |