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-21 17:39:48 +02:00

7 lines
172 B
Ruby

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