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

Inherits:
Base
  • Object
show all
Defined in:
lib/arkecosystem/client/api/two/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)


29
30
31
# File 'lib/arkecosystem/client/api/two/node.rb', line 29

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

#statusFaraday::Response

Get the loader status.

Returns:

  • (Faraday::Response)


15
16
17
# File 'lib/arkecosystem/client/api/two/node.rb', line 15

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

#syncingFaraday::Response

Get the loader syncing status.

Returns:

  • (Faraday::Response)


22
23
24
# File 'lib/arkecosystem/client/api/two/node.rb', line 22

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