mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-02 13:24:20 +01:00
10 lines
312 B
Plaintext
10 lines
312 B
Plaintext
|
# frozen_string_literal: true
|
||
|
|
||
|
json.extract! invoiced, :stp_subscription_id, :created_at, :expiration_date, :canceled_at
|
||
|
json.plan do
|
||
|
json.extract! invoiced.plan, :id, :base_name, :interval, :interval_count, :stp_plan_id, :is_rolling
|
||
|
json.group do
|
||
|
json.extract! invoiced.plan.group, :id, :name
|
||
|
end
|
||
|
end
|