Module: Persistable

Defined in:
lib/persistable.rb,
lib/persistable/factory.rb,
lib/persistable/version.rb,
lib/persistable/fs_adapter.rb,
lib/persistable/memory_adapter.rb,
lib/persistable/mogile_fs_adapter.rb,
lib/persistable/cloud_storage_adapter.rb

Overview

Persistable defines an abstract interface to save, retrieve and delete data from a storage. Currently memory, mogile_fs, file and cloud adapters are supported. The latter is powered by the / fog gem, so any fog storage provider can be used. Persistable has also a factory class, so you can use it to build your adapter using yml files.

Defined Under Namespace

Classes: CloudStorageAdapter, FSAdapter, Factory, MemoryAdapter, MogileFSAdapter

Constant Summary collapse

VERSION =
"0.7.0"