Sha256: 63e90422ca26aadb29ad632f0684695498a3ba6ba959435df174687d78529610
Contents?: true
Size: 375 Bytes
Versions: 13
Compression:
Stored size: 375 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
13 entries across 13 versions & 1 rubygems