Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (21 sloc) 415 Bytes
module Soulmate
class Base
include Helpers
attr_accessor :type
def initialize(type)
@type = normalize(type)
end
def base
"soulmate-index:#{type}"
end
def data_base
"soulmate-data:#{type}"
end
def cache_base
"soulmate-cache:#{type}"
end
def secondary_index_base
"soulmate-secondary-index:#{type}"
end
end
end
Something went wrong with that request. Please try again.