Sha256: 13d297b08ff90623e78b19f53d4081bdfefb1a3379c55daade26a6e7baa58a3b
Contents?: true
Size: 399 Bytes
Versions: 2
Compression:
Stored size: 399 Bytes
Contents
module Soulmate class Base include Helpers attr_accessor :type def initialize(type) @type = normalize(type) end def base "soulmate-index:#{Soulmate.cache_namespace}_#{type}" end def database "soulmate-data:#{Soulmate.cache_namespace}_#{type}" end def cachebase "soulmate-cache:#{Soulmate.cache_namespace}_#{type}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
soulmate_rails-0.3.2 | lib/soulmate/base.rb |
soulmate_rails-0.3.1 | lib/soulmate/base.rb |