module RedisHash::Identity
Public Instance Methods
hash()
click to toggle source
# File lib/redis_hash/concerns/identity.rb, line 13 def hash { redis_id: redis.id, redis_key: redis_key }.hash end
to_h()
click to toggle source
# File lib/redis_hash/concerns/identity.rb, line 21 def to_h hgetall(redis_key) end
to_hash()
click to toggle source
# File lib/redis_hash/concerns/identity.rb, line 17 def to_hash to_h end