1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-03 14:24:23 +01:00
fab-manager/app/views/api/user_packs/index.json.jbuilder
2021-06-29 15:59:57 +02:00

9 lines
209 B
Ruby

# frozen_string_literal: true
json.array!(@user_packs) do |user_pack|
json.extract! user_pack, :minutes_used, :expires_at
json.prepaid_pack do
json.extract! user_pack.prepaid_pack, :minutes
end
end