Class: ArkEcosystem::Client::API::Two::Node
- Defined in:
- lib/arkecosystem/client/api/two/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.
29 30 31 |
# File 'lib/arkecosystem/client/api/two/node.rb', line 29 def configuration @client.get('node/configuration') end |
#status ⇒ Faraday::Response
Get the loader status.
15 16 17 |
# File 'lib/arkecosystem/client/api/two/node.rb', line 15 def status @client.get('node/status') end |
#syncing ⇒ Faraday::Response
Get the loader syncing status.
22 23 24 |
# File 'lib/arkecosystem/client/api/two/node.rb', line 22 def syncing @client.get('node/syncing') end |