Method: OpenC3::ReactionModel#notify_disable
- Defined in:
- lib/openc3/models/reaction_model.rb
#notify_disable ⇒ Object
224 225 226 227 228 229 230 |
# File 'lib/openc3/models/reaction_model.rb', line 224 def notify_disable @enabled = false # disabling clears the snooze so when it's enabled it can immediately run @snoozed_until = nil notify(kind: 'disabled') # update() will be called by the reaction_microservice end |