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

8 lines
259 B
Plaintext
Raw Normal View History

# frozen_string_literal: true
2023-03-03 10:09:07 +01:00
json.subscriptions @subscriptions do |subscription|
json.extract! subscription, :id, :created_at, :canceled_at, :plan_id
json.user_id subscription.statistic_profile.user_id
json.expiration_date subscription.expired_at
end