Module CouchRest::Model::ExtendedAttachments
In: lib/couchrest/model/extended_attachments.rb

Methods

Public Instance methods

returns URI to fetch the attachment from

returns URL to fetch the attachment from

Add a file attachment to the current document. Expects :file and :name to be included in the arguments.

deletes a file attachment from the current doc

returns true if attachment_name exists

reads the data from an attachment

modifies a file attachment on the current doc

[Validate]