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

7 lines
188 B
Plaintext
Raw Normal View History

2021-06-21 17:39:48 +02:00
# frozen_string_literal: true
json.array! @packs do |pack|
2021-06-24 17:59:05 +02:00
json.extract! pack, :id, :priceable_id, :priceable_type, :group_id, :minutes, :disabled
2021-06-21 17:39:48 +02:00
json.amount pack.amount / 100.0
end