1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-19 08:52:25 +01:00
fab-manager/app/views/api/prepaid_packs/index.json.jbuilder

7 lines
172 B
Plaintext
Raw Normal View History

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