Method: OpenC3::ProcessStatusModel#initialize

Defined in:
lib/openc3/models/process_status_model.rb

#initialize(name:, state: nil, process_type: nil, detail: nil, output: nil, updated_at: nil, plugin: nil, scope:) ⇒ ProcessStatusModel

END NOTE



52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# File 'lib/openc3/models/process_status_model.rb', line 52

def initialize(
  name:,
  state: nil,
  process_type: nil,
  detail: nil,
  output: nil,
  updated_at: nil,
  plugin: nil,
  scope:
)
  super("#{scope}__#{PRIMARY_KEY}", name: name, updated_at: updated_at, plugin: plugin, scope: scope)
  @state = state
  @process_type = process_type
  @detail = detail
  @output = output
end