control_link.rb 324 B

12345
  1. # A ControlLink connects Agents in a control flow from the `controller` to the `control_target`.
  2. class ControlLink < ActiveRecord::Base
  3. belongs_to :controller, class_name: 'Agent', inverse_of: :control_links_as_controller
  4. belongs_to :control_target, class_name: 'Agent', inverse_of: :control_links_as_control_target
  5. end