Class: CouchRest::ExtendedDocument

Inherits:
Document
  • Object
show all
Defined in:
lib/couchrest.rb

Overview

For the sake of backwards compatability, generate a dummy ExtendedDocument class which should be replaced by real library: couchrest_extended_document.

Added 2010-05-10 by Sam Lown. Please remove at some point in the future.

Instance Attribute Summary

Attributes inherited from Document

#database

Class Method Summary collapse

Methods inherited from Document

#copy, #destroy, #id, #id=, #new?, #rev, #save, #uri, use_database

Methods included from InheritableAttributes

#couchrest_inheritable_accessor, #couchrest_inheritable_reader, #couchrest_inheritable_writer

Methods included from Attachments

#delete_attachment, #fetch_attachment, #put_attachment

Methods included from Attributes

#[], #[]=, #as_couch_json, #clone, #delete, #dup, #freeze, #has_key?, #initialize, #inspect, #to_hash

Class Method Details

.inherited(subclass) ⇒ Object



142
143
144
# File 'lib/couchrest.rb', line 142

def self.inherited(subclass)
  raise "ExtendedDocument is no longer included in CouchRest base driver, see couchrest_extended_document gem"
end