Class: Interferon::NotifyDSL

Inherits:
Object
  • Object
show all
Includes:
DSLMixin
Defined in:
lib/interferon/alert_dsl.rb

Instance Method Summary collapse

Methods included from DSLMixin

#[], #initialize, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Interferon::DSLMixin

Instance Method Details

#groups(v = nil, &block) ⇒ Object



92
93
94
# File 'lib/interferon/alert_dsl.rb', line 92

def groups(v = nil, &block)
  get_or_set(:@groups, v, block, [])
end

#people(v = nil, &block) ⇒ Object



88
89
90
# File 'lib/interferon/alert_dsl.rb', line 88

def people(v = nil, &block)
  get_or_set(:@people, v, block, [])
end