Sha256: 45efc331760bacdae9f50f17de9fa877bcf45d5803ff51374b8271079c299202

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

# frozen_string_literal: true

module ActiveRedisStats
  module Count
    class Base < ActiveRedisStats::Base

      class << self
        def primary_key(key)
          "ars:count:#{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/count/base.rb
active_redis_stats-0.1.2 lib/active_redis_stats/count/base.rb
active_redis_stats-0.1.1 lib/active_redis_stats/count/base.rb