Method: Conflow::Redis::Identifier::ClassMethods#counter_key
- Defined in:
- lib/conflow/redis/identifier.rb
#counter_key ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Redis key holding counter with IDs of model.
37 38 39 |
# File 'lib/conflow/redis/identifier.rb', line 37 def counter_key @counter_key ||= [*name.downcase.split("::"), :idcnt].join(":") end |