mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-13 23:48:55 +01:00
8 lines
259 B
Ruby
8 lines
259 B
Ruby
# frozen_string_literal: true
|
|
|
|
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
|