Class: Interferon::NotifyDSL
- Inherits:
-
Object
- Object
- Interferon::NotifyDSL
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
#audit(v = nil, &block) ⇒ Object
122
123
124
|
# File 'lib/interferon/alert_dsl.rb', line 122
def audit(v = nil, &block)
get_or_set(:@audit, v, block, false)
end
|
#groups(v = nil, &block) ⇒ Object
118
119
120
|
# File 'lib/interferon/alert_dsl.rb', line 118
def groups(v = nil, &block)
get_or_set(:@groups, v, block, [])
end
|
#people(v = nil, &block) ⇒ Object
114
115
116
|
# File 'lib/interferon/alert_dsl.rb', line 114
def people(v = nil, &block)
get_or_set(:@people, v, block, [])
end
|