Module: CouchScheduler::CouchVisibleIntegration

Defined in:
lib/couch_scheduler/couch_visible_integration.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



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

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