1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-04 15:24:23 +01:00
fab-manager/app/views/api/machines/index.json.jbuilder

6 lines
208 B
Plaintext
Raw Normal View History

2016-07-06 11:22:01 +02:00
json.array!(@machines) do |machine|
2017-10-11 12:10:05 +02:00
json.extract! machine, :id, :name, :description, :spec, :slug, :disabled
2016-07-06 11:22:01 +02:00
json.machine_image machine.machine_image.attachment.medium.url if machine.machine_image
2015-05-05 03:10:25 +02:00
end