Class: Binance::SDK::Endpoints

Inherits:
Object
  • Object
show all
Defined in:
lib/binance/sdk/endpoints.rb

Class Method Summary collapse

Class Method Details

.fetch(identifier) ⇒ Object



5
6
7
# File 'lib/binance/sdk/endpoints.rb', line 5

def fetch(identifier)
  Configuration.futures? ? future_endpoints[identifier] : spot_endpoints[identifier]
end