Sha256: d60b0b7a30ea678baadb7f442e1bc0cafbfbe53afd4073b47beb1a07bf945456

Contents?: true

Size: 262 Bytes

Versions: 13

Compression:

Stored size: 262 Bytes

Contents

# frozen_string_literal: true

module RedisWebManager
  class ClientsController < ApplicationController
    # GET /clients
    def index
      @status = info.status
      @url = connection.id
      @clients = info.clients.map(&:symbolize_keys)
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
redis_web_manager-0.4.0 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.9 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.8 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.6 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.5 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.4 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.3 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.2 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.1 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.3.0 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.2.1 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.2.0 app/controllers/redis_web_manager/clients_controller.rb
redis_web_manager-0.1.8 app/controllers/redis_web_manager/clients_controller.rb