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:



40
41
42
# File 'lib/redis/commands/cluster.rb', line 40

def asking
  send_command(i[asking])
end