Sha256: 105601721213e532d7230a76230d2527f48a12a2c4e338683c01624bc8bd8094
Contents?: true
Size: 374 Bytes
Versions: 1
Compression:
Stored size: 374 Bytes
Contents
# frozen_string_literal: true module RedisWebManager class InformationController < ApplicationController # GET /information def index @information = stats.map { |k, v| { name: k.to_s.humanize, value: v } } @status = info.status @url = connection.id end private def stats @stats ||= info.stats.symbolize_keys end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_web_manager-0.1.6 | app/controllers/redis_web_manager/information_controller.rb |