1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/app/views/open_api/v1/subscriptions/index.json.jbuilder
2023-03-03 10:09:07 +01:00

7 lines
230 B
Ruby

# frozen_string_literal: true
json.subscriptions @subscriptions do |subscription|
json.extract! subscription, :id, :created_at, :expiration_date, :canceled_at, :plan_id
json.user_id subscription.statistic_profile.user_id
end