Method: OpenC3::Model#as_json
- Defined in:
- lib/openc3/models/model.rb
#as_json(*a) ⇒ Hash
Returns JSON encoding of this model.
181 182 183 184 185 186 |
# File 'lib/openc3/models/model.rb', line 181 def as_json(*a) { 'name' => @name, 'updated_at' => @updated_at, 'plugin' => @plugin, 'scope' => @scope } end |