Path: | lib/couchrest/document.rb |
Last Update: | Thu May 16 06:05:13 +0000 2013 |
Provides basic functions for controlling documents returned from the CouchDB database and provides methods to act as a wrapper around a Hash of @_attributes.
The idea is to provide the basic functionality of a Hash, just enought to support the needs of CouchRest, but not inherit all of the functionality found in a basic Hash.
A Response is similar to Rails’ HashWithIndifferentAccess as all requests will convert the keys into Symbols and be stored in the master hash as such.