Class CouchObject::Response
In: lib/couch_object/response.rb
Parent: Object
Enumerable Document StandardError HasManyAssociationError MissingView CantCompareSize DocumentNotFound BelongsToAssociationError HasOneAssociationError CouchDBError MapProcessError DatabaseSaveFailed NoDatabaseLocationSet Array HasManyRelation Response Database Server View Errors VERSION ClassMethods Persistable Utils CouchObject dot/f_3.png

The response returned from the database

Methods

body   code   new   parse   parsed_body   success?   to_document  

Public Class methods

Public Instance methods

the response HTTP code

Parse the response body into JSON and return self

The parsed (to JSON) body

is the request considered a success?

Returns a CouchObject::Document with the parsed_body set as the attributes

[Validate]