Sha256: 72dd11b2745a26b3ae4ac0918928e92a58aceacdd278629c193cd47061302e58
Contents?: true
Size: 307 Bytes
Versions: 3
Compression:
Stored size: 307 Bytes
Contents
require 'pp' require 'rubygems' require 'toystore' require 'adapter/memcached' class GameList include Toy::Store store :memcached, Memcached.new attribute :source, Hash end list = GameList.create(:source => {'foo' => 'bar'}) pp list pp GameList.get(list.id) list.destroy pp GameList.get(list.id)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
toystore-0.6.1 | examples/memcached.rb |
toystore-0.6 | examples/memcached.rb |
toystore-0.5 | examples/memcached.rb |