Method: OpenC3::ScopeModel#as_json

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

#as_json(*_a) ⇒ Object



170
171
172
173
174
175
176
177
178
179
180
181
182
# File 'lib/openc3/models/scope_model.rb', line 170

def as_json(*_a)
  { 'name' => @name,
    'updated_at' => @updated_at,
    'text_log_cycle_time' => @text_log_cycle_time,
    'text_log_cycle_size' => @text_log_cycle_size,
    'text_log_retain_time' => @text_log_retain_time,
    'tool_log_retain_time' => @tool_log_retain_time,
    'cleanup_poll_time' => @cleanup_poll_time,
    'command_authority' => @command_authority,
    'critical_commanding' => @critical_commanding,
    'shard' => @shard,
   }
end