1
0
Fork 0
discourse-custom-wizard-unl.../serializers/custom_wizard/pro_serializer.rb
2021-09-01 10:19:00 +08:00

6 Zeilen
Kein EOL
304 B
Ruby

# frozen_string_literal: true
class CustomWizard::ProSerializer < ApplicationSerializer
attributes :server
has_one :authentication, serializer: CustomWizard::ProAuthenticationSerializer, embed: :objects
has_one :subscription, serializer: CustomWizard::ProSubscriptionSerializer, embed: :objects
end