Module: CouchCloner::Query

Defined in:
lib/couch_cloner/query.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/couch_cloner/query.rb', line 3

def self.included(base)
  base.extend ClassMethods
  base.map :clone_id
  base.couch_view :by_clone_id_and_start_time do
    map CouchCloner::ByCloneIdAndStartTime
  end
end