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/prepaid_packs/index.json.jbuilder
2021-06-24 17:59:05 +02:00

7 lines
188 B
Ruby

# frozen_string_literal: true
json.array! @packs do |pack|
json.extract! pack, :id, :priceable_id, :priceable_type, :group_id, :minutes, :disabled
json.amount pack.amount / 100.0
end