Class: Watcher

Inherits:
Ohm::Model
  • Object
show all
Includes:
Ohm::Callbacks, Ohm::Timestamping, Ohm::Typecast
Defined in:
lib/noah/watchers.rb

Overview

NYI

Instance Method Summary (collapse)

Instance Method Details

- (Object) validate



14
15
16
17
# File 'lib/noah/watchers.rb', line 14

def validate
  assert_present :client, :endpoint, :event, :action
  assert_unique [:client, :endpoint, :event, :action]
end