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

7 lines
173 B
Ruby
Raw Normal View History

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