1
0
Fork 0
discourse-custom-wizard-unl.../serializers/custom_wizard/pro/subscription_serializer.rb
2021-09-07 20:11:50 +08:00

10 Zeilen
210 B
Ruby

# frozen_string_literal: true
class CustomWizard::ProSubscriptionSerializer < ApplicationSerializer
attributes :type,
:active,
:updated_at
def active
object.active?
end
end