1
0
Fork 0
discourse-custom-wizard-unl.../serializers/custom_wizard/pro/authentication_serializer.rb

11 Zeilen
236 B
Ruby

# frozen_string_literal: true
class CustomWizard::ProAuthenticationSerializer < ApplicationSerializer
attributes :active,
:client_id,
:auth_by,
:auth_at
def active
object.active?
end
end