Class: ArkEcosystem::Client::API::Node

Inherits:
Base
  • Object
show all
Defined in:
lib/arkecosystem/client/api/node.rb

Overview

Methods for the Node API

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from ArkEcosystem::Client::API::Base

Instance Method Details

#configurationFaraday::Response

Get the loader configuration.

Returns:

  • (Faraday::Response)


25
26
27
# File 'lib/arkecosystem/client/api/node.rb', line 25

def configuration
  @client.get('node/configuration')
end

#statusFaraday::Response

Get the loader status.

Returns:

  • (Faraday::Response)


11
12
13
# File 'lib/arkecosystem/client/api/node.rb', line 11

def status
  @client.get('node/status')
end

#syncingFaraday::Response

Get the loader syncing status.

Returns:

  • (Faraday::Response)


18
19
20
# File 'lib/arkecosystem/client/api/node.rb', line 18

def syncing
  @client.get('node/syncing')
end