Method: OpenC3::Model#as_json
- Defined in:
- lib/openc3/models/model.rb
#as_json(*a) ⇒ Hash
Returns JSON encoding of this model.
191 192 193 194 195 196 |
# File 'lib/openc3/models/model.rb', line 191 def as_json(*a) { 'name' => @name, 'updated_at' => @updated_at, 'plugin' => @plugin, 'scope' => @scope } end |