Method: OpenC3::MicroserviceStatusModel#as_json
- Defined in:
- lib/openc3/models/microservice_status_model.rb
#as_json(*a) ⇒ Object
65 66 67 68 69 70 71 72 73 74 75 |
# File 'lib/openc3/models/microservice_status_model.rb', line 65 def as_json(*a) { 'name' => @name, 'state' => @state, 'count' => @count, 'error' => @error.as_json(:allow_nan => true), 'custom' => @custom.as_json(:allow_nan => true), 'plugin' => @plugin, 'updated_at' => @updated_at } end |