Method: OpenC3::ActivityModel#as_json
- Defined in:
- lib/openc3/models/activity_model.rb
#as_json(*a) ⇒ Hash
Returns generated from the ActivityModel.
432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 |
# File 'lib/openc3/models/activity_model.rb', line 432 def as_json(*a) { 'name' => @name, 'updated_at' => @updated_at, 'start' => @start, 'stop' => @stop, 'kind' => @kind, 'data' => @data.as_json(*a), 'scope' => @scope, 'fulfillment' => @fulfillment, 'uuid' => @uuid, 'events' => @events, 'recurring' => @recurring.as_json(*a) } end |