Class: Bitmart::API::System
- Inherits:
-
Object
- Object
- Bitmart::API::System
- Defined in:
- lib/bitmart/api_system.rb
Constant Summary collapse
- API_ENDPOINT =
'https://api-cloud.bitmart.com/system'.freeze
Instance Method Summary collapse
-
#get_system_service ⇒ Object
get system service.
-
#get_system_time ⇒ Object
get system time.
Instance Method Details
#get_system_service ⇒ Object
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_time ⇒ Object
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 |