Method: AmaLayout::Notifications::RedisStore#initialize

Defined in:
lib/ama_layout/notifications/redis_store.rb

#initialize(opts = {}) ⇒ RedisStore

Returns a new instance of RedisStore.



8
9
10
11
12
13
# File 'lib/ama_layout/notifications/redis_store.rb', line 8

def initialize(opts = {})
  self.base = ActiveSupport::Cache.lookup_store(
    :redis_store,
    opts.merge(raw: true)
  )
end