Class: Flapjack::Pikelet::Generic
Constant Summary collapse
- TYPES =
['notifier', 'processor', 'jabber', 'pagerduty', 'oobetet', 'email', 'sms', 'aws_sns', 'sms_twilio', 'sms_aspsms']
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#reload(cfg) ⇒ Object
this should only reload if all changes can be applied – will return false to log warning otherwise.
- #start ⇒ Object
Methods inherited from Base
Constructor Details
This class inherits a constructor from Flapjack::Pikelet::Base
Instance Method Details
#reload(cfg) ⇒ Object
this should only reload if all changes can be applied – will return false to log warning otherwise
156 157 158 159 |
# File 'lib/flapjack/pikelet.rb', line 156 def reload(cfg) return false unless @pikelet.respond_to?(:reload) super(cfg) { @pikelet.reload(cfg) } end |
#start ⇒ Object
148 149 150 151 152 |
# File 'lib/flapjack/pikelet.rb', line 148 def start super do @pikelet.start end end |