FIX: Properly namespace payment serializer (#15)

This commit is contained in:
Justin DiRose 2020-07-06 15:19:45 -05:00 committed by GitHub
parent fb4f50478d
commit 3e6d8734de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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