Class: ArkEcosystem::Client::API::Node
- Defined in:
- lib/arkecosystem/client/api/node.rb
Overview
Methods for the Node API
Instance Method Summary collapse
-
#configuration ⇒ Faraday::Response
Get the loader configuration.
-
#status ⇒ Faraday::Response
Get the loader status.
-
#syncing ⇒ Faraday::Response
Get the loader syncing status.
Methods inherited from Base
Constructor Details
This class inherits a constructor from ArkEcosystem::Client::API::Base
Instance Method Details
#configuration ⇒ Faraday::Response
Get the loader configuration.
25 26 27 |
# File 'lib/arkecosystem/client/api/node.rb', line 25 def configuration @client.get('node/configuration') end |
#status ⇒ Faraday::Response
Get the loader status.
11 12 13 |
# File 'lib/arkecosystem/client/api/node.rb', line 11 def status @client.get('node/status') end |
#syncing ⇒ Faraday::Response
Get the loader syncing status.
18 19 20 |
# File 'lib/arkecosystem/client/api/node.rb', line 18 def syncing @client.get('node/syncing') end |