mastodon/app/presenters/initial_state_presenter.rb

6 lines
172 B
Ruby

# frozen_string_literal: true
class InitialStatePresenter < ActiveModelSerializers::Model
attributes :settings, :push_subscription, :token, :current_account, :admin
end