class Kraken::Connection
The most trivial node
Public Instance Methods
authenticate()
click to toggle source
Validate if the credentials are correct
# File lib/kraken/core/connection.rb, line 17 def authenticate true end
single_user?()
click to toggle source
How are defined it is a uniq user authenticated in Kraken
Network
# File lib/kraken/core/connection.rb, line 12 def single_user? Kraken::Connection.find(user: user).size <= 1 end