Class: BinanceClient::BookTickerRequest

Inherits:
BaseRequest show all
Defined in:
lib/binance_client/requests/book_ticker_request.rb

Instance Method Summary collapse

Methods inherited from BaseRequest

#headers

Instance Method Details

#paramsObject



9
10
11
12
13
# File 'lib/binance_client/requests/book_ticker_request.rb', line 9

def params
  {}.tap do |hash|
    hash[:symbol] = symbol if symbol
  end.to_query
end

#pathObject



5
6
7
# File 'lib/binance_client/requests/book_ticker_request.rb', line 5

def path
  "/api/v3/ticker/bookTicker"
end