Method: OpenC3::SettingModel#as_json
- Defined in:
- lib/openc3/models/setting_model.rb
#as_json(*a) ⇒ Hash
Returns JSON encoding of this model.
50 51 52 53 54 55 56 |
# File 'lib/openc3/models/setting_model.rb', line 50 def as_json(*a) { 'name' => @name, 'data' => @data.as_json(*a), 'updated_at' => @updated_at } end |