Module: CouchRest::Mixins::Views

Included in:
ExtendedDocument
Defined in:
lib/couchrest/mixins/views.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
10
# File 'lib/couchrest/mixins/views.rb', line 5

def self.included(base)
  base.extend(ClassMethods)
  base.send(:class_inheritable_accessor, :design_doc)
  base.send(:class_inheritable_accessor, :design_doc_slug_cache)
  base.send(:class_inheritable_accessor, :design_doc_fresh)
end