add_event will make an event. This will NOT save the object to the redis database
Parameters:
the event status such as "queued" or "updated" or "created"
403 404 405 406 407 408 409
# File 'lib/openc3/models/activity_model.rb', line 403 def add_event(status:) event = { 'time' => Time.now.to_i, 'event' => status } @events << event end