Module: CouchScheduler::CouchPublishIntegration

Defined in:
lib/couch_scheduler/couch_publish_integration.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



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

def self.included(base)
  base.couch_view :within_couch_schedule do
    map CouchScheduler::Map do
      conditions ::Published, ::Unpublished
    end
  end
end