Module: Hivent::Redis

Defined in:
lib/hivent/redis/redis.rb,
lib/hivent/redis/signal.rb,
lib/hivent/redis/consumer.rb,
lib/hivent/redis/producer.rb,
lib/hivent/redis/extensions.rb

Defined Under Namespace

Modules: Extensions Classes: Consumer, Producer, Signal

Class Method Summary collapse

Class Method Details

.redisObject



8
9
10
# File 'lib/hivent/redis/redis.rb', line 8

def self.redis
  @@redis ||= ::Redis.new(url: Hivent::Config.endpoint)
end