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

7 lines
173 B
Ruby
Raw Normal View History

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