Sha256: d693dd4a480b444141613afacf8b1fe3430aafbfc2d0ea8697321989ca7c3c1d
Contents?: true
Size: 520 Bytes
Versions: 2
Compression:
Stored size: 520 Bytes
Contents
module Seymour module Store class Base attr_accessor :key def initialize(key, options = {}) @key = key @options = options end def redis @redis ||= Seymour.redis end def activity_ids ids end def max_size 100 end def bulk_push(activities) activities.each do |activity| push(activity) end end def remove(activity) remove_id(activity.id) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
seymour-0.0.9 | lib/seymour/store/base.rb |
seymour-0.0.8 | lib/seymour/store/base.rb |