231
232
233
234
235
236
|
# File 'lib/openc3/models/reaction_model.rb', line 231
def deactivate
@active = false
@updated_at = Time.now.to_nsec_from_epoch
Store.hset(@primary_key, @name, JSON.generate(as_json(:allow_nan => true)))
notify(kind: 'deactivated')
end
|