Method: Megam::Backups#for_json
- Defined in:
- lib/megam/core/backups.rb
#for_json ⇒ Object
158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 |
# File 'lib/megam/core/backups.rb', line 158 def for_json result = { "id" => id, "account_id" => account_id, "asm_id" => asm_id, "org_id" => org_id, "tosca_type" => tosca_type, "inputs" => inputs, "outputs" => outputs, "name" => name, "status" => status, "image_id" => image_id, "created_at" => created_at, "labels" =>labels, } result end |