Move design_doc attributes to Mixins::DesignDoc

This commit is contained in:
Brian Candler 2009-03-26 21:21:20 +00:00
parent e466b20df9
commit ada5b1660f
2 changed files with 3 additions and 3 deletions

View file

@ -6,6 +6,9 @@ module CouchRest
def self.included(base)
base.extend(ClassMethods)
base.send(:extlib_inheritable_accessor, :design_doc)
base.send(:extlib_inheritable_accessor, :design_doc_slug_cache)
base.send(:extlib_inheritable_accessor, :design_doc_fresh)
end
module ClassMethods

View file

@ -4,9 +4,6 @@ module CouchRest
def self.included(base)
base.extend(ClassMethods)
base.send(:extlib_inheritable_accessor, :design_doc)
base.send(:extlib_inheritable_accessor, :design_doc_slug_cache)
base.send(:extlib_inheritable_accessor, :design_doc_fresh)
end
module ClassMethods