lib/universa/client.rb in universa-0.3.1 vs lib/universa/client.rb in universa-0.3.2
- old
+ new
@@ -111,11 +111,13 @@
}
end
end
+ # The connection to a single Universa node.
class Connection
+ # Do not create it direcly, use {Client#random_connection}, {Client#random_connections} or {Client#[]} instead
def initialize umi_client
@client = umi_client
end
# Check the connected node is alive. It is adivesd to call {restart} on nodes that return false on pings