Sha256: d4531bcac2d0311c466ea5c403c028e09d0f14e5b79224526e2e1be4ce3620ce

Contents?: true

Size: 228 Bytes

Versions: 3

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

module ActiveRedisStats
  module Rank
    class Base < ActiveRedisStats::Base

      class << self
        def primary_key(key)
          "ars:rank:#{key}"
        end
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_redis_stats-0.1.3 lib/active_redis_stats/rank/base.rb
active_redis_stats-0.1.2 lib/active_redis_stats/rank/base.rb
active_redis_stats-0.1.1 lib/active_redis_stats/rank/base.rb