Method: Redis#auth

Defined in:
lib/redis.rb

#auth(password) ⇒ String

Authenticate to the server.



61
62
63
64
65
# File 'lib/redis.rb', line 61

def auth(password)
  synchronize do
    @client.call [:auth, password]
  end
end