Class: Binance::SDK::Server

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

Class Method Summary collapse

Class Method Details

.timeObject



5
6
7
8
9
10
11
# File 'lib/binance/sdk/server.rb', line 5

def time
  Request.send!(
    api_key_type: :read_info, path: Endpoints.fetch(:server_time),
    params: {},
    security_type: :user_data, api_key: Configuration.api_key, api_secret_key: Configuration.secret_key
  )
end