mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +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
|