Method: Megam::Components#for_json
- Defined in:
- lib/megam/core/components.rb
#for_json ⇒ Object
218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 |
# File 'lib/megam/core/components.rb', line 218 def for_json result = { 'id' => id, 'name' => name, 'tosca_type' => tosca_type, 'inputs' => inputs, 'outputs' => outputs, 'artifacts' => artifacts, 'related_components' => , 'operations' => operations, 'status' => status, 'repo' => repo, 'created_at' => created_at } result end |