mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-05 06:26:21 +00:00
6 lines
204 B
Ruby
6 lines
204 B
Ruby
Nokogiri::XML::Builder.new do |xml|
|
|
xml.XRD(xmlns: 'http://docs.oasis-open.org/ns/xri/xrd-1.0') do
|
|
xml.Link(rel: 'lrdd', type: 'application/xrd+xml', template: @webfinger_template)
|
|
end
|
|
end.to_xml
|