class ArkEcosystem::Client::API::Peers
Public Instance Methods
all(parameters = {})
click to toggle source
Get all peers.
@param parameters [Hash]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/peers.rb, line 13 def all(parameters = {}) @client.get('peers', parameters) end
show(ip_addr)
click to toggle source
Get the peer by the given ip.
@param ip_addr [String]
@return [Faraday::Response]
# File lib/arkecosystem/client/api/peers.rb, line 22 def show(ip_addr) @client.get("peers/#{ip_addr}") end