mirror of
https://github.com/discourse/discourse-subscriptions.git
synced 2025-03-06 09:39:51 +00:00
FIX: Properly namespace payment serializer (#15)
This commit is contained in:
parent
fb4f50478d
commit
3e6d8734de
@ -1,6 +1,7 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class PaymentSerializer < ApplicationSerializer
|
module DiscourseSubscriptions
|
||||||
|
class PaymentSerializer < ApplicationSerializer
|
||||||
attributes :payment_intent_id,
|
attributes :payment_intent_id,
|
||||||
:receipt_email,
|
:receipt_email,
|
||||||
:url,
|
:url,
|
||||||
@ -50,4 +51,5 @@ class PaymentSerializer < ApplicationSerializer
|
|||||||
"$"
|
"$"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user