Spiegel von
https://github.com/paviliondev/discourse-custom-wizard.git
synchronisiert 2024-11-26 11:00:28 +01:00
11 Zeilen
236 B
Ruby
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
|