catstodon/app/serializers/rest/keys/device_serializer.rb
2020-06-02 19:24:53 +02:00

6 lines
173 B
Ruby

# frozen_string_literal: true
class REST::Keys::DeviceSerializer < ActiveModel::Serializer
attributes :device_id, :name, :identity_key,
:fingerprint_key
end