Method: OpenC3::ProcessStatusModel#as_json

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

#as_json(*a) ⇒ Object



69
70
71
72
73
74
75
76
77
78
79
# File 'lib/openc3/models/process_status_model.rb', line 69

def as_json(*a)
  {
    'name' => @name,
    'state' => @state,
    'process_type' => @process_type,
    'detail' => @detail,
    'output' => @output,
    'plugin' => @plugin,
    'updated_at' => @updated_at
  }
end