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



82
83
84
# File 'lib/interferon/alert_dsl.rb', line 82

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

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



78
79
80
# File 'lib/interferon/alert_dsl.rb', line 78

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