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

7 lines
173 B
Ruby

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