blob: 07ab2a6eee304e3f64bf51ab626e3969ec93c89f (
plain) (
tree)
|
|
# frozen_string_literal: true
class NodeInfo::DiscoverySerializer < ActiveModel::Serializer
include RoutingHelper
attribute :links
def links
[{ rel: 'http://nodeinfo.diaspora.software/ns/schema/2.0', href: nodeinfo_schema_url }]
end
end
|