Method: Prisma#redis

Defined in:
lib/prisma.rb

#redisObject

Set your own Redis instance, it will be wrapped into a Redis::Namespace object with the configured namespace. Useful for when Redis is not available on the standard IP and port. Allows:

  • hostname:port

  • hostname:port:db

  • redis://hostname:port/db

  • Redis instance



23
# File 'lib/prisma.rb', line 23

mattr_accessor :redis