mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-15 00:24:09 +01:00
6 lines
234 B
Ruby
6 lines
234 B
Ruby
# frozen_string_literal: true
|
|
|
|
json.partial! 'open_api/v1/machines/machine', machine: @machine
|
|
json.extract! @machine, :description, :spec
|
|
json.image URI.join(root_url, @machine.machine_image.attachment.url) if @machine.machine_image
|