Move design_doc attributes to Mixins::DesignDoc
This commit is contained in:
parent
e466b20df9
commit
ada5b1660f
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue