nyastodon/app/serializers/rest/keys/device_serializer.rb

7 lines
173 B
Ruby
Raw Normal View History

2020-06-02 19:24:53 +02:00
# frozen_string_literal: true
class REST::Keys::DeviceSerializer < ActiveModel::Serializer
attributes :device_id, :name, :identity_key,
:fingerprint_key
end