Method: Aerospike::ClientPolicy#requires_authentication

Defined in:
lib/aerospike/policy/client_policy.rb

#requires_authenticationObject

[View source]

99
100
101
# File 'lib/aerospike/policy/client_policy.rb', line 99

def requires_authentication
  (@user && @user != '') || (@password && @password != '')
end