Class: ArkEcosystem::Client::API::One::Loader

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

Overview

Methods for the Loader 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

#autoconfigureFaraday::Response

Get the loader configuration.

Returns:

  • (Faraday::Response)
[View source]

29
30
31
# File 'lib/arkecosystem/client/api/one/loader.rb', line 29

def autoconfigure
  @client.get('loader/autoconfigure')
end

#statusFaraday::Response

Get the loader status.

Returns:

  • (Faraday::Response)
[View source]

15
16
17
# File 'lib/arkecosystem/client/api/one/loader.rb', line 15

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

#syncFaraday::Response

Get the loader syncing status.

Returns:

  • (Faraday::Response)
[View source]

22
23
24
# File 'lib/arkecosystem/client/api/one/loader.rb', line 22

def sync
  @client.get('loader/status/sync')
end