Class: Bitmart::API::System

Inherits:
Object
  • Object
show all
Defined in:
lib/bitmart/api_system.rb

Constant Summary collapse

API_ENDPOINT =
'https://api-cloud.bitmart.com/system'.freeze

Instance Method Summary collapse

Instance Method Details

#get_system_serviceObject

get system service



15
16
17
18
19
20
# File 'lib/bitmart/api_system.rb', line 15

def get_system_service
    request(
        http_method: :get,
        endpoint: "service"
    )
end

#get_system_timeObject

get system time



7
8
9
10
11
12
# File 'lib/bitmart/api_system.rb', line 7

def get_system_time
    request(
        http_method: :get,
        endpoint: "time"
    )
end