Method: Redis::Commands::Cluster#asking

Defined in:
lib/redis/commands/cluster.rb

#askingString

Sends ‘ASKING` command to random node and returns its reply.

Returns:

  • (String)

    ‘’OK’‘

See Also:



23
24
25
# File 'lib/redis/commands/cluster.rb', line 23

def asking
  send_command(%i[asking])
end