Module CouchPotato::Persistence::Json
In: lib/couch_potato/persistence/json.rb

Methods

included   to_hash   to_json  

Classes and Modules

Module CouchPotato::Persistence::Json::ClassMethods

Public Class methods

Public Instance methods

returns all the attributes, the ruby class and the _id and _rev of a model as a Hash

returns a JSON representation of a model in order to store it in CouchDB

[Validate]