Module: Aqua::Store::CouchDB::StorageMethods

Included in:
DesignDocument
Defined in:
lib/aqua/store/couch_db/storage_methods.rb

Overview

This module of storage methods was built to be flexible enough to step in as a replacement for CouchRest core or another super lite CouchDB library. A lot of the methods are added for that convenience, and not for the needs of Aqua. Adding the module to a Mash/Hash class is sufficient to get the full core access library.

Defined Under Namespace

Modules: ClassMethods, InstanceMethods

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



15
16
17
18
19
20
# File 'lib/aqua/store/couch_db/storage_methods.rb', line 15

def self.included( klass ) 
  klass.class_eval do 
    include InstanceMethods
    extend ClassMethods
  end
end